> I was changing models many times and deleting tables inbetween.
> New tables were generated to improved models and admin site worked
> perfectly.
> Now smth happened that i am getting error:
>
> ImproperlyConfigured: 'SentAdmin.fields' refers to field 'dateSent'
> that is missing from the form.
>
> 'dateSent' is in the model and correctly described in admin.py
>
> I did not added this field before generating new tables. It was
> previously.
> If i comment other fields gives the same error.
>
> What can be the solution?
> Should i make new project or there is a way to update forms (for
> field 'dateSent' and orher fields that are missing from the form
> according Django) ??
Post only the definitions of the model containing dateSent and
its ModelAdmin.
Also:
Are you using dateSent somethwere else in the dmin.py?
Remove the admin.pyc file.
--
Ramiro Morales
--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment