summaryrefslogtreecommitdiff
path: root/django/db/models/options.py
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-12-08 08:15:37 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2008-12-08 08:15:37 +0000
commitd662ef554015a3508ff8100c73b370728156a02c (patch)
treeebd0f191d7033bced3770ef88306b00c4102b319 /django/db/models/options.py
parentfa7aa7255ca990b2f13e615f023a958e54cb17d0 (diff)
The first step in fixing a group of problems related to outputting a proper
"value" for a field that is a relation to another model. This part adds the utility method on Model that should help in general.Also cleans up the slightly ugly mess from r8957. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/db/models/options.py')
-rw-r--r--django/db/models/options.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/django/db/models/options.py b/django/db/models/options.py
index 6e0d6b5082..5d8a7b7104 100644
--- a/django/db/models/options.py
+++ b/django/db/models/options.py
@@ -448,3 +448,4 @@ class Options(object):
# objects.append(opts)
self._ordered_objects = objects
return self._ordered_objects
+