summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2007-03-11 16:06:08 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2007-03-11 16:06:08 +0000
commita5e9f508ce1ba6afe90fe8da3b453c780b1a7342 (patch)
tree7c68347f02f3610d91c69f0d5465c9e79eddb027 /docs
parent5c2e83eef59c9591d1b5c65e5f265fc80271f283 (diff)
Added {{{ContentType.objects.clear_cache()}}} which clears the lookup cache. This needs to be called at syncdb time to avoid "stale" content-type IDs after the database gets flushed during unit tests.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions