Adrian Holovaty
|
fd7c0a1a7c
|
magic-removal: Merged to [2226]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2227 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 05:11:21 +00:00 |
Adrian Holovaty
|
35a3103283
|
magic-removal: Merged to [2223]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 05:01:10 +00:00 |
Adrian Holovaty
|
58bf60ec3d
|
magic-removal: Fixed #1301 -- Fixed AttributeError when QuerySet.dates() is filtered. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2223 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 04:46:56 +00:00 |
Adrian Holovaty
|
77816bc850
|
magic-removal: Fixed #1304 -- template.resolve_variable() now resolves integers, as in trunk. When did this get removed, I wonder?
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 04:43:37 +00:00 |
Adrian Holovaty
|
124944e5ed
|
magic-removal: Fixed #1312 -- made QuerySet.in_bulk() accepting of any iterable, not just lists
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2221 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 04:38:45 +00:00 |
Adrian Holovaty
|
b78f2a9827
|
magic-removal: Fixed #1307 -- API changes in admin views. Thanks, mookai
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2220 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 03:20:37 +00:00 |
Adrian Holovaty
|
a9db2c18c0
|
magic-removal: Fixed #1308 -- API changes in admin models. Thanks, mookai
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2219 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 03:19:12 +00:00 |
Adrian Holovaty
|
52b2dd620f
|
magic-removal: Fixed #1313 -- Bugfixes for magic-removal. Thanks, jpaulofarias
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2218 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 03:18:09 +00:00 |
Adrian Holovaty
|
171c1a5a06
|
magic-removal: Fixed #1314 -- Made bugfixes for admin interface. Thanks, jpaulofarias
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2217 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-02 03:17:13 +00:00 |
Luke Plant
|
c6db2578de
|
magic-removal: Updated Manager in comments model to use .model instead of .klass
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2216 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-01 18:47:12 +00:00 |
Luke Plant
|
9dc4aa97ff
|
magic-removal: Fixed #1306 - Auth Manager now uses .model not .klass. Thanks jpaulofarias
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2215 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-01 18:43:23 +00:00 |
Russell Keith-Magee
|
8df94de53b
|
magic-removal: Added a 'reset' command to management that executes the output of the 'sqlreset' command.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2214 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-01 13:21:16 +00:00 |
Adrian Holovaty
|
2cdd5b1b37
|
magic-removal: Got admin changelist working with descriptor fields
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-01 04:58:42 +00:00 |
Adrian Holovaty
|
b01b9e3a87
|
magic-removal: Updated django.core.paginator to work with QuerySet objects instead of Managers/Models
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2212 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-02-01 03:35:59 +00:00 |
Adrian Holovaty
|
a06b44bdc4
|
magic-removal: Fixed #1300 -- Converted various Django code to use the new descriptor-fields DB API. Thanks much, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2211 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 23:42:58 +00:00 |
Luke Plant
|
671da7036f
|
magic-removal: Fixed some incorrect tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 23:28:47 +00:00 |
Adrian Holovaty
|
5bf57ef71c
|
magic-removal: Changed SingleRelatedObjectDescriptor to use self._field instead of self.field
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2209 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 23:22:23 +00:00 |
Luke Plant
|
ac67992c79
|
magic-removal: Fixed (very broken) dynamic creation of method and use of super in last commit,
so that RelatedManager works in other contexts now
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 23:10:43 +00:00 |
Luke Plant
|
cef5e5421d
|
magic-removal: fixed RelatedManager by making it work as a custom manager, and 24 related tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2207 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 22:26:53 +00:00 |
Luke Plant
|
a37d862ded
|
magic-removal: fixed an out-by-one error in the 'basic' model tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2206 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 22:02:20 +00:00 |
Luke Plant
|
5c3789c908
|
magic-removal: extracted usages of QuerySet in Manager to a single method,
which can easily be overridden to create custom managers, and updated
tests with new method of creating custom managers.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2205 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 21:54:28 +00:00 |
Adrian Holovaty
|
1a53632306
|
magic-removal: Fixed bug in field-name calculation in ValuesQuerySet.iterator()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2203 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:29:31 +00:00 |
Luke Plant
|
8aeeec0b35
|
magic-removal: Fixed an incorrect model test in 'ordering', and updated comments too.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2202 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:27:18 +00:00 |
Luke Plant
|
758f1366c2
|
magic-removal: fixed bug with indexing in QuerySet.__getitem__
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2201 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:22:54 +00:00 |
Adrian Holovaty
|
e51fcf8ec3
|
magic-removal: Created InBulkQuerySet, ValuesQuerySet and DateQuerySet, subclasses of QuerySet that provide custom iterator(). This lets you use iterator() with in_bulk(), values() and dates(). Also added unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2200 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:21:31 +00:00 |
Luke Plant
|
2983bd8989
|
magic-removal: updated syntax of 'or_lookup' model tests, including
logical combinations of both QuerySets and Q objects
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2199 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:06:42 +00:00 |
Luke Plant
|
b72d8da3b2
|
magic-removal: removed legacy 'import copy', and re-introduced Q() objects
as positional parameters to the QuerySet methods that took keyword arguments
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2198 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 02:04:45 +00:00 |
Luke Plant
|
34bf9e8d31
|
magic-removal: Fixed bug with .values() when no arguments are passed, and added test for it
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2197 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 01:50:16 +00:00 |
Adrian Holovaty
|
5b34ff236a
|
magic-removal: Changed Manager so that it's not a subclass of QuerySet, and implemented proxy methods to the QuerySet methods it needs.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2196 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 01:13:10 +00:00 |
Adrian Holovaty
|
9fa5c43d5b
|
magic-removal: Changed syntax in unit tests -- hopefully for the last time.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2195 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 01:08:02 +00:00 |
Adrian Holovaty
|
a6cf387d6b
|
magic-removal: Implemented Manager.all() and changed Manager so that it doesn't cache.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2194 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-31 00:02:11 +00:00 |
Adrian Holovaty
|
836478fa74
|
magic-removal: Renamed Manager.klass to Manager.model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2193 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 23:40:54 +00:00 |
Adrian Holovaty
|
a917054961
|
magic-removal: Renamed self.klass to self.model in QuerySet
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2191 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 22:50:38 +00:00 |
Adrian Holovaty
|
b349e42aac
|
magic-removal: Updated unit tests to use objects.all()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 22:44:05 +00:00 |
Adrian Holovaty
|
ad211a7cc3
|
magic-removal: Restored and/or support for QuerySets
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 22:23:21 +00:00 |
Adrian Holovaty
|
cf376353a6
|
magic-removal: Merged to [2187]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2188 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 22:06:18 +00:00 |
Adrian Holovaty
|
030f8d6af1
|
magic-removal: Fixed #1297 -- Fixed Python 2.4 style dict.update() to Python 2.3-compatible
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2186 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 18:00:53 +00:00 |
Adrian Holovaty
|
c0529945b4
|
magic-removal: Fixed a couple more unit-test bugs
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2185 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 06:07:57 +00:00 |
Adrian Holovaty
|
104fcb2447
|
magic-removal: Fixed bugs in many_to_one unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2184 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 06:00:50 +00:00 |
Adrian Holovaty
|
08e3bc8dd8
|
magic-removal: Fixed bug in many_to_one unit test
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:57:30 +00:00 |
Adrian Holovaty
|
13cea53bb2
|
magic-removal: Implemented Manager.add()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2182 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:54:12 +00:00 |
Adrian Holovaty
|
e49a09731b
|
magic-removal: Implemented QuerySet.values(). All 'lookup' unit tests pass.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:38:02 +00:00 |
Adrian Holovaty
|
913ed88397
|
magic-removal: Fixed bug in _get_next_or_previous_by_FIELD()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:26:31 +00:00 |
Adrian Holovaty
|
f0d3b56d76
|
magic-removal: Fixed some errors in 'lookup' model unit tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2179 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:21:11 +00:00 |
Adrian Holovaty
|
93399167b6
|
magic-removal: Various fixes to QuerySet. Temporarily turned off caching.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2178 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 05:20:36 +00:00 |
Adrian Holovaty
|
97e7ff7c27
|
magic-removal: Changed get_DATEFIELD_list() manager method to dates(), which takes the name of the date field. Updated docs and unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2177 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 04:36:41 +00:00 |
Adrian Holovaty
|
cf276407ea
|
magic-removal: Fixed _get_next_or_previous_by_FIELD() to use new-style lookup
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2175 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 04:05:53 +00:00 |
Adrian Holovaty
|
b3e9732eff
|
magic-removal: Fixed _set_core_filter() call in db.models.fields.related
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2174 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 04:04:12 +00:00 |
Adrian Holovaty
|
4d3763123a
|
magic-removal: Changed exception text for in_bulk() error
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2173 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 04:01:58 +00:00 |
Adrian Holovaty
|
7ff623755a
|
magic-removal: Fixed legacy get_object() call in Model._get_next_or_previous_by_FIELD()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-30 03:51:55 +00:00 |