From 9af56803f53a4e41bb826d4e293ef8650ad9f13a Mon Sep 17 00:00:00 2001 From: Gary Wilson Jr Date: Tue, 23 Dec 2008 18:25:24 +0000 Subject: Fixed #8245 -- Added a LOADING flag to autodiscover to prevent an admin.py module with errors from raising a spurious AlreadyRegistered exception in a subsequent call to autodiscover. git-svn-id: http://code.djangoproject.com/svn/django/trunk@9680 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- tests/regressiontests/bug8245/models.py | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 tests/regressiontests/bug8245/models.py (limited to 'tests/regressiontests/bug8245/models.py') diff --git a/tests/regressiontests/bug8245/models.py b/tests/regressiontests/bug8245/models.py new file mode 100644 index 0000000000..5643955df3 --- /dev/null +++ b/tests/regressiontests/bug8245/models.py @@ -0,0 +1,4 @@ +from django.db import models + +class Story(models.Model): + title = models.CharField(max_length=10) -- cgit v1.3