Re: 'function' object has no attribute 'fields' errror on first access to development server

2009-09-03 Thread Andy McKay
Make sure you've added in autodiscover: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#hooking-adminsite-instances-into-your-urlconf If you want help on a specific error, you are going to have give us a traceback, otherwise its unlikely we have enough information to go on. On 2009-09

'function' object has no attribute 'fields' errror on first access to development server

2009-09-03 Thread hamdiakoguz
After starting django dev server I get this error on the first access. After refreshing the page it goes away but somehow it seems that admin.py (in my application dir) seems not to be executed and none of the models i registered does not appear in admin. --~--~-~--~~~