Re: Migration: AlreadyRegistered

2010-08-18 Thread Christos Jonathan Hayward
I'm not using virtualenv. django.contrib.admin wants a DJANGO_SETTINGS_MODULE to be set: Inner Sanctum ~/directory $ python Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29) [GCC 4.2.1 (Apple Inc. build 5646)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>>

Re: Migration: AlreadyRegistered

2010-08-18 Thread Sam Lai
This error looks like an import error in disguise. ( http://code.djangoproject.com/browser/django/tags/releases/1.2.1/django/utils/importlib.py ) Fire up the python interpreter shell, and trying importing the django.contrib.admin module manually and see if you get any errors. Django seems to be

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
I realized there may have been some pre-existing stuff in the directory, so I renamed it and extracted fresh from tarball. I got an error I had seen earlier but couldn't reproduce: AttributeError at / 'module' object has no attribute 'register' Request Method:GETRequest

Re: Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
Thank you; I'm not seeing how. My admin.py reads: import django.contrib.admin import directory.models import tagging django.contrib.admin.autodiscover() django.contrib.admin.site.register(directory.models.Entity) django.contrib.admin.site.register(directory.models.Location)

Re: Migration: AlreadyRegistered

2010-08-17 Thread Sam Lai
It means somehow you're calling this line in an admin.py file twice - admin.site.register(Entity) Check the admin.py file for the app that contains the Entity model. On 18 August 2010 10:57, Christos Jonathan Hayward < christos.jonathan.hayw...@gmail.com> wrote: > I am trying to migrate from

Migration: AlreadyRegistered

2010-08-17 Thread Christos Jonathan Hayward
I am trying to migrate from one server to another: I tarred it up on the Linux server, untarred on a Mac, got one or two complaints about missing packages, and when I had resolved them, got the error below. Entity is the name of one of my models. What does this mean, and how is this issue