You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think StateModel is deprecated stuff (only works if a field is named state, I might be wrong on that one). But to answer your question:
You can name field whatever you like, as long as it's a StateField.
Basically don't use a StateModel at all, and that's it.
models.py
admin.py
The text was updated successfully, but these errors were encountered: