AlreadyRegistered Error

Bug #704791 reported by Oussama Mubarak
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
django-openid-auth
New
Undecided
Unassigned

Bug Description

When running "python manage.py test" with Django 1.2.1, I get the following error in each test:

...
File "/usr/lib/pymodules/python2.6/django/contrib/admin/__init__.py", line 24, in autodiscover
    import_module('%s.admin' % app)
  File "/usr/lib/pymodules/python2.6/django/utils/importlib.py", line 35, in import_module
    __import__(name)
  File "/var/www/games/semiaddict/server/django_openid_auth/admin.py", line 46, in <module>
    admin.site.register(Nonce, NonceAdmin)
  File "/usr/lib/pymodules/python2.6/django/contrib/admin/sites.py", line 78, in register
    raise AlreadyRegistered('The model %s is already registered' % model.__name__)
AlreadyRegistered: The model Nonce is already registered

Strangely, this doesn't occur when I test my applications one at a time.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.