python - Django Admin looking for field that does not exist -


i using django 1.8, python3, sqlite.

i had model foreign key referenced model. updated model remove foreign key , replaced many-to-many key referenced different table. ran makemigrations , ran actual migration without errors. however, when go admin , try add row table following error:

exception type:     fielderror  exception value:      unknown field(s) (theoneideleted) specified tableichanged. check fields/fieldsets/exclude attributes of class tableichangedadmin. 

why there still reference deleted field after migration? more importantly, how can fix it?

it looks have updated models.py, haven't updated model admin in admin.py.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -