What do you mean with "importing your models"? Do you mean syncing them with the database? Have you tried $ python manage.py validate?
2008/6/18 Molly <[EMAIL PROTECTED]>: > > I am creating an app to be run on the desktop, > > I am in the process of importing my models, and I got this error: > > ==================================================================== > > AttributeError at /admin/base/incident/add/ > 'NoneType' object has no attribute 'get_field_sets' > > Request Method: GET > Request URL: http://127.0.0.1:8000/admin/base/incident/add/ > Exception Type: AttributeError > Exception Value: 'NoneType' object has no attribute 'get_field_sets' > Exception Location: C:\Python25\lib\site-packages\django\contrib\admin > \views\main.py in render_change_form, line 203 > Python Executable: C:\Python25\pythonw.exe > Python Version: 2.5.2 > Python Path: ['C:\\dev\\incidents2\\hazard_inventory', 'C:\\Python25\ > \Lib\\idlelib', 'C:\\Python25\\python25.zip', 'C:\\Python25\\DLLs', 'C: > \\Python25\\lib', 'C:\\Python25\\lib\\plat-win', 'C:\\Python25\\lib\ > \lib-tk', 'C:\\Python25', 'C:\\Python25\\lib\\site-packages', 'c:\ > \dev'] > Server time: Wed, 18 Jun 2008 11:48:51 -0400 > > ==================================================================== > > I am new to programming so i'm not sure what this is. > I would really appreciate any help! > > Thanks!! > Molly > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---