I have created my models, validated them etc and looked at the sqlall
output and everything was fine. However when i went to syncdb my
database it created 5 of 10 tables but and error on the 6th table
(suddenly found multiple primary keys!) caused the process to stop. I
fixed the problem in my models with the problem table (well i
commented it) but when i run sqlall the original sql shows up and
syncdb still won't create the remaining tables. Why won't the sql
change when i change my models and what should i do. I looked at the
database in phpmyadmin and 5 of the tables are present.
In addition (but this maybe a separate issue I don't know) when i try
to look at the admin pages for the cretaed tables I get an error:
ProgrammingError: (1146, "Table 'amyprot.django_session' doesn't
exist"
Help!

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to