Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/db/models/manager.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixed #7154 -- Inherit all model managers from abstract ↵Malcolm Tredinnick2008-09-021-3/+15
| | | | | | | | | | | base classes. Also added documentation describing how manager inheritance works (and when manager aren't inherited). Based on some patches from sebastian_noack and emulbreh. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8851 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Major refactoring of django.dispatch with an eye towards ↵Jacob Kaplan-Moss2008-08-061-3/+2
| | | | | | | | | | | | | | | speed. The net result is that signals are up to 90% faster. Though some attempts and backwards-compatibility were made, speed trumped compatibility. Thus, as usual, check BackwardsIncompatibleChanges for the complete list of backwards-incompatible changes. Thanks to Jeremy Dunck and Keith Busell for the bulk of the work; some ideas from Brian Herring's previous work (refs #4561) were incorporated. Documentation is, sigh, still forthcoming. Fixes #6814 and #3951 (with the new dispatch_uid argument to connect). git-svn-id: http://code.djangoproject.com/svn/django/trunk@8223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Merged the queryset-refactor branch into trunk.Malcolm Tredinnick2008-04-271-6/+34
| | | | | | | | | | This is a big internal change, but mostly backwards compatible with existing code. Also adds a couple of new features. Fixed #245, #1050, #1656, #1801, #2076, #2091, #2150, #2253, #2306, #2400, #2430, #2482, #2496, #2676, #2737, #2874, #2902, #2939, #3037, #3141, #3288, #3440, #3592, #3739, #4088, #4260, #4289, #4306, #4358, #4464, #4510, #4858, #5012, #5020, #5261, #5295, #5321, #5324, #5325, #5555, #5707, #5796, #5817, #5987, #6018, #6074, #6088, #6154, #6177, #6180, #6203, #6658 git-svn-id: http://code.djangoproject.com/svn/django/trunk@7477 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3032 -- Added some useful methods and attributes ↵Malcolm Tredinnick2007-09-151-0/+4
| | | | | | so that AnonymousUser can proxy for a User a bit more logically. Patch from semenov. git-svn-id: http://code.djangoproject.com/svn/django/trunk@6299 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed British spelling of 'customize' and 'behavior' in ↵Adrian Holovaty2007-08-061-1/+1
| | | | | | Manager.get_query_set() docstring git-svn-id: http://code.djangoproject.com/svn/django/trunk@5823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4945 -- Removed unused `GET_ITERATOR_CHUNK_SIZE` ↵Gary Wilson Jr2007-07-221-4/+0
| | | | | | definition from manager.py. `GET_ITERATOR_CHUNK_SIZE` is already defined in query.py. Thanks zigiDev@mac.com. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5743 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #3283 -- Added support for empty QuerySets via ↵Adrian Holovaty2007-01-231-1/+7
| | | | | | none() method. Thanks for the patch, medhat git-svn-id: http://code.djangoproject.com/svn/django/trunk@4394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Second half of little cleanup tweaks suggested by pyflakes.Jacob Kaplan-Moss2006-07-211-3/+0
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@3414 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added {{{Manager.create()}}} method to create and save ↵Jacob Kaplan-Moss2006-06-271-2/+5
| | | | | | an object in a single step. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed the detection of when a custom manager is required ↵Malcolm Tredinnick2006-06-151-2/+6
| | | | | | | | | because an 'objects' field already exists. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3131 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Added Manager.get_or_create()Adrian Holovaty2006-06-071-0/+3
| | | | git-svn-id: http://code.djangoproject.com/svn/django/trunk@3092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #1579 - added support for 'Q' objects in ↵Luke Plant2006-05-061-0/+3
| | | | | | limit_choices_to. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2850 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is ↵Adrian Holovaty2006-05-021-0/+101
highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions. git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37