Django syncdb doesn't create db tables -
i've been troubleshooting error no luck.
templatesyntaxerror @ /signup/
caught databaseerror while rendering: relation "signup_product" not exist line 1: ..."duration", "signup_product"."duration_type" "signup_pr...
what i've discovered when run manage.py syncdb, not creating tables in database. empty database, explains above error.
i ran manage.py sqlall myapp , displayed models in myapp.models
i can start shell , import myapp fine.
so why doesn't manage.py syncdb create tables?
this before learned south. wasn't using migrate, syncdb wasn't adding new models.
Comments
Post a Comment