Changes between Version 67 and Version 68 of NewbieMistakes


Ignore:
Timestamp:
Jun 28, 2018, 10:38:24 AM (6 years ago)
Author:
John Franey
Comment:

Replaced a reference to syncdb with the newer migrate command

Legend:

Unmodified
Added
Removed
Modified
  • NewbieMistakes

    v67 v68  
    357357==== Solution ====
    358358
    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 syncdb 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.
     359Rename 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.
    360360
    361361== unbound method contribute_to_class() ==
Back to Top