You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
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!
allisongardner
unread,
Jul 4, 2008, 4:54:28 AM7/4/08
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Django users
IGNORE ME!! For some reason best known to my computer and Django it
now works!!!! Go figure!