summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-07-14 00:27:55 +0000
committerRamiro Morales <cramm0@gmail.com>2011-07-14 00:27:55 +0000
commita925b3780e09986131059b7a12f78e968267e0fa (patch)
tree1a4c47bb88ce499bcdce6d78ec3ff89d8bf1ee36 /scripts
parent220ce42333b8bff16b4b0b434cfc2570dcce9985 (diff)
[1.3.X] Reverted [14563] because it introduced a dependency from core on a contrib app (contenttypes). Fixes #16283, Refs #3055. Thanks TheRoSS for the report and Aymeric Augustin for finding the problem.
This caused models shipped with some contrib apps to pollute the namespace when user's apps had the same name (e.g. auth, sites), even when these contrib apps weren't installed. This undesired loading of contrib apps happened when model validation was executed, for example when running management commands that set or inherit `requires_model_validation=True`: cleanup, dumpdata, flush, loaddata, reset, runfcgi, sql, sqlall, sqlclear, sqlcustom, sqlflush, sqlindexes, sqlinitialdata, sqlreset, sqlsequencereset, syncdb, createsuperusers, ping_google, collectstatic, findstatic. This could also cause hard to diagnose problems e.g. when performing reverse URL resolving. Backport of [16493] from trunk. git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.3.X@16541 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions