Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread Karen Tracey
On Thu, Jan 8, 2009 at 7:48 PM, rabbi wrote: > > I get the same exception(s) > > The 1st time I try to import swenglish.admin I get: > ImproperlyConfigured: 'EntryAdmin.fieldsets[3][1]['fields']' refers to > field 'created_date' that is missing from the form. > > The 2nd

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread rabbi
I've solved it. In case anyone has the same problem, I think it's because 'created_date' is set to auto_now, which means it's not editable and should be in fieldsets This link was helpful:

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread rabbi
I get the same exception(s) The 1st time I try to import swenglish.admin I get: ImproperlyConfigured: 'EntryAdmin.fieldsets[3][1]['fields']' refers to field 'created_date' that is missing from the form. The 2nd time I try to import swenglish.admin I get: AlreadyRegistered: The model User is

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread Karen Tracey
On Thu, Jan 8, 2009 at 6:33 PM, rabbi wrote: > > OK, thanks > I also tried deleting the db file and then calling syncdb again... it > didn't help > Do you have any suggestions? > Try importing your admin.py from a manage.py shell prompt, and see if that shows a more

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread rabbi
OK, thanks I also tried deleting the db file and then calling syncdb again... it didn't help Do you have any suggestions? On Jan 9, 12:17 am, adrian wrote: > syncdb does not modify already existing tables. > so if you modified a model - syncdb will not modify the tables

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread adrian
syncdb does not modify already existing tables. so if you modified a model - syncdb will not modify the tables On Jan 9, 12:01 am, rabbi wrote: > Hi, > I've search around a bit and found a few references to this error, but > it seems that everyone else was getting

Re: AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread rabbi
here's my admin.py from mysite.swenglish.models import User from mysite.swenglish.models import Entry from mysite.swenglish.models import Category from mysite.swenglish.models import Language from django.contrib import admin class UserAdmin(admin.ModelAdmin): list_display = ('name',

AlreadyRegistered at /admin/, The model #### is already registered

2009-01-08 Thread rabbi
Hi, I've search around a bit and found a few references to this error, but it seems that everyone else was getting this when they migrated to Django 1.0 and newforms... for me it's a different situation, as I started on 1.0 from the beginning Background: Went through tutorial, got a basic site