Changes between Version 67 and Version 68 of NewbieMistakes
- Timestamp:
- Jun 28, 2018, 10:38:24 AM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
NewbieMistakes
v67 v68 357 357 ==== Solution ==== 358 358 359 Rename your application directory using a non-reserved name, i.e., "email_app" instead of "email". Go into the {{{INSTALLED_APPS}}} section of settings.py and change the name there too. Also, don't forget to do a syncdbto create the newly renamed app in your database. You may also want to go in to your database and drop the old "mis-named" table.359 Rename your application directory using a non-reserved name, i.e., "email_app" instead of "email". Go into the {{{INSTALLED_APPS}}} section of settings.py and change the name there too. Also, don't forget to migrate your database ({{{python manage.py migrate}}}) to create the newly renamed app in your database. You may also want to go in to your database and drop the old "mis-named" table. 360 360 361 361 == unbound method contribute_to_class() ==