Luke Plant
|
02eeb8dd14
|
magic-removal: first stab at implementing Manager as a QuerySet
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2150 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-29 00:22:10 +00:00 |
Luke Plant
|
3127e3befb
|
magic-removal: Fixed typo in handlers.modpython
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2149 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 19:41:29 +00:00 |
Adrian Holovaty
|
7e0ba90442
|
magic-removal: Implemented SingleRelatedObjectDescriptor -- descriptor lookup for many-to-one related lookup, e.g. choice.poll. Old syntax, choice.get_poll(), still works for the moment.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2148 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 19:27:51 +00:00 |
Adrian Holovaty
|
b266091a2a
|
magic-removal: Renamed RelatedObjectDescriptor to ManyRelatedObjectsDescriptor and created stub for SingleRelatedObjectDescriptor
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2147 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 18:45:04 +00:00 |
Russell Keith-Magee
|
feee6d8805
|
magic-removal: Added checks to prevent creation of models with related/m2m field names that collide with defined field names
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2146 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 17:58:44 +00:00 |
Russell Keith-Magee
|
ce71979e53
|
magic-removal: Modified query lookup to correctly handle non-plural RelatedObjects.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2145 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 17:06:05 +00:00 |
Adrian Holovaty
|
90a49140a5
|
magic-removal: Added descriptor lookup support for reverse many-to-many relationships -- e.g. site_obj.article_set. For the time being, site_obj.get_article_list(), site_obj.get_article_count(), etc., still work.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2144 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 02:08:32 +00:00 |
Adrian Holovaty
|
322336c382
|
magic-removal: Reworded comment from [2141]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2142 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 00:14:28 +00:00 |
Adrian Holovaty
|
b22ebaf466
|
magic-removal: Added first stab at many-to-one descriptor lookup. Now poll_obj.choice_set is created. poll_obj.get_choice_list(), poll_obj.get_choice() and poll_obj.get_choice_count() are still supported temporarily, but that code was marked with a TODO to be deleted.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2141 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-28 00:12:26 +00:00 |
Adrian Holovaty
|
a6139af645
|
magic-removal: Added 'core_filters' attribute to Manager -- a dictionary of core filters to apply to every database query made with that manager.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2140 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 23:42:45 +00:00 |
Adrian Holovaty
|
a35f7c6e15
|
magic-removal: Changed ManipulatorDescriptor to raise AttributeError correctly
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2138 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 21:29:29 +00:00 |
Adrian Holovaty
|
1af3a39868
|
magic-removal: Merged to [2136]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2137 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 16:35:25 +00:00 |
Adrian Holovaty
|
6dddef9b91
|
magic-removal: Negligible spacing change to db.models.manager
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2135 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 16:08:54 +00:00 |
Adrian Holovaty
|
bacdf2ddad
|
magic-removal: Fixed #1276 -- Fixed typo in auth.models. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2130 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-27 15:41:26 +00:00 |
Adrian Holovaty
|
9308377fda
|
magic-removal: Removed SharedMethods hack in db.models.fields.related -- there's some duplicate code now, but it's easier to understand
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2129 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-26 21:22:43 +00:00 |
Adrian Holovaty
|
6cfea0d5b9
|
magic-removal: Changed RelatedObject to take parent_model, not parent_opts, in constructor
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2128 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-26 17:12:32 +00:00 |
Adrian Holovaty
|
e865477593
|
magic-removal: Negligible formatting cleanup in models/manager.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2127 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-26 16:36:03 +00:00 |
Adrian Holovaty
|
1833c53b21
|
magic-removal: Renamed get_method_name_part() to get_accessor_name()
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2126 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-26 04:12:16 +00:00 |
Joseph Kocherhans
|
faf9ff6316
|
magic-removal: Fixed some model tests that broke with removal of pluralization in [2111].
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2125 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-25 21:51:13 +00:00 |
Jacob Kaplan-Moss
|
650d26d32e
|
magic-removal: removed django.parts.media -- it's cruft left over from Ellington that isn't helpful in Django at all
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2124 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-25 04:01:18 +00:00 |
Adrian Holovaty
|
7d23d1e798
|
magic-removal: Merged to [2120]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2121 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-24 00:49:16 +00:00 |
Adrian Holovaty
|
b7891c560c
|
magic-removal: Fixed #1264 -- Fixed missing import in manipulators.py. Thanks, Esaj
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2118 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 23:01:22 +00:00 |
Adrian Holovaty
|
8708245d96
|
magic-removal: Updated docs/model-api.txt to remove sections on 'exceptions' and 'module_constants' params to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2116 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 04:37:24 +00:00 |
Adrian Holovaty
|
ff474dffab
|
magic-removal: Removed 'where_constraints' parameter to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2115 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 04:36:08 +00:00 |
Adrian Holovaty
|
c8c7f07190
|
magic-removal: Removed 'admin', 'exceptions' and 'module_constants' parameters to 'class Meta'
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2114 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 04:35:02 +00:00 |
Adrian Holovaty
|
d78533535f
|
magic-removal: module_name is no longer a valid 'class Meta' attribute
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2113 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 03:08:10 +00:00 |
Adrian Holovaty
|
8ec8a8720e
|
magic-removal: Unabstracted get_module_name() function, because it was only used once
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2112 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 03:06:39 +00:00 |
Adrian Holovaty
|
e8b570c3c6
|
magic-removal: Fixed #1259 -- This is VERY backwards-incompatible! Normalized all table names to be singular. Added 'django_' prefix to core tables that didn't have it. Thanks, Tom Tobin.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2111 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:50:15 +00:00 |
Adrian Holovaty
|
75c4013a21
|
magic-removal: Moved FieldDoesNotExist exception to django.db.models.fields and removed django.db.models.exceptions
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:41:01 +00:00 |
Adrian Holovaty
|
766ee9aeb2
|
magic-removal: Removed BadKeywordArguments exception, which wasn't being used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2109 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:37:01 +00:00 |
Adrian Holovaty
|
fcdc826e2c
|
magic-removal: Removed BadCommand exception, which wasn't being used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2108 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:36:11 +00:00 |
Adrian Holovaty
|
69120fa9d3
|
magic-removal: Changed delete() safety-mechanism logic to happen as soon as possible.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2107 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:34:07 +00:00 |
Adrian Holovaty
|
25e1e1392f
|
magic-removal: Refactored get_installed_models and get_installed_model_modules to get_apps, get_app, get_models and get_model
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-23 02:29:34 +00:00 |
Adrian Holovaty
|
17ece1adb8
|
magic-removal: Got rid of django.utils.datastructures.dot_expand, which wasn't being used
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2105 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-22 06:51:35 +00:00 |
Adrian Holovaty
|
63b158ecb4
|
magic-removal: Restored FileField validation stuff that had been commented out.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2104 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-22 06:44:05 +00:00 |
Adrian Holovaty
|
d6b154a888
|
magic-removal: Restored manipulators to code from trunk, removing the unfinished stuff
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2103 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-22 06:38:54 +00:00 |
Adrian Holovaty
|
6eb3c1418f
|
magic-removal: Renamed 'type' variable to 'model' in ManipulatorDescriptor to be more readable
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2102 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-22 06:00:27 +00:00 |
Adrian Holovaty
|
6d9b4f443c
|
magic-removal: Negligible changes to ManipulatorDescriptor
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-22 05:53:36 +00:00 |
Adrian Holovaty
|
107f097a98
|
magic-removal: Changed breadcrumb on admin model docs page to use object_name, not verbose_name
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2100 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 22:45:06 +00:00 |
Adrian Holovaty
|
b4a454f956
|
magic-removal: Fixed #1253 -- Got admin doc for models working.
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 22:41:56 +00:00 |
Adrian Holovaty
|
882c7c1885
|
magic-removal: Fixed #1252 -- Fixed bug in admin doc views. Thanks, the.twentysixth
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 21:20:12 +00:00 |
Adrian Holovaty
|
387f453db5
|
magic-removal: Changed inner-class name in models from MANIPULATOR to Manipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2096 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 06:40:52 +00:00 |
Adrian Holovaty
|
43d6bef62b
|
magic-removal: Removed AdminBoundManipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 06:23:16 +00:00 |
Adrian Holovaty
|
8e1e0adfc7
|
magic-removal: Small cleanup of AdminOptions, AdminFieldSet, AdminFieldLine
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2094 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 06:04:21 +00:00 |
Adrian Holovaty
|
6505ae5c2f
|
magic-removal: Collapsed BoundField, BoundFieldLine, FieldLine, BoundFieldSet, FieldSet and BoundManipulator to continue code simplification
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2093 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 05:54:36 +00:00 |
Adrian Holovaty
|
f664a284e7
|
magic-removal: Fixed bug in manipulator_validator_unique_for_date
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 05:37:25 +00:00 |
Adrian Holovaty
|
2348f8fcef
|
magic-removal: Removed auto_populated_fields and javascript_imports attributes of AdminBoundManipulator
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 05:23:16 +00:00 |
Adrian Holovaty
|
05c01c71a4
|
magic-removal: Simplified some code in admin.templatetags.admin_modify
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2090 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 05:15:29 +00:00 |
Adrian Holovaty
|
92d2b01a44
|
magic-removal: Continued simplification of AdminBoundManipulator -- Removed has_absolute_url attribute
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 04:36:35 +00:00 |
Adrian Holovaty
|
f99dd1d542
|
magic-removal: Fixed bug in [2085]
git-svn-id: http://code.djangoproject.com/svn/django/branches/magic-removal@2088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
|
2006-01-21 04:34:36 +00:00 |