summaryrefslogtreecommitdiff
path: root/django/core
diff options
context:
space:
mode:
authorMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-07-04 10:48:07 +0000
committerMalcolm Tredinnick <malcolm.tredinnick@gmail.com>2006-07-04 10:48:07 +0000
commita778c9de4773d7a9d53b86b3aa4bc54bfbc40b8d (patch)
tree569b9f9c8e0bdc16607ec72121c57d34ec9f3782 /django/core
parent4a30eff1ff3be7dec76f6abeb2dcea0eac823319 (diff)
Fixed #1578 -- fixed a corner-case where we still wanting core=True attributes
on a model that was not being edited inline. git-svn-id: http://code.djangoproject.com/svn/django/trunk@3275 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'django/core')
-rw-r--r--django/core/management.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/django/core/management.py b/django/core/management.py
index ea210af88f..5dd18ddd46 100644
--- a/django/core/management.py
+++ b/django/core/management.py
@@ -962,6 +962,8 @@ def get_validation_errors(outfile, app=None):
# Check core=True, if needed.
for related in opts.get_followed_related_objects():
+ if not related.edit_inline:
+ continue
try:
for f in related.opts.fields:
if f.core: