2👍
✅
Have you tried restarting your server? If you are using anything other than the development server, you’ll probably need to do that manually after making changes like this.
0👍
Unfortunately the thing you try to do is not supported by django out of the box 🙁
but you can do it ether by adding a db_column to the fields or by exporting the data, removing the table from the database, edit the export file, recreate the database table and reimporting the data.
Also look at the various schema evolution solutions out there
- [Answered ]-Django form validation with parameters from view
- [Answered ]-Combining a PyQt Gui app with an Django project
Source:stackexchange.com