Re: Django DatabaseError when using sqlall and syncdb

2010-04-27 Thread larsendt
Aha! Fixed it. I commented out all of the apps I added to the project, and then ran ./ manage.py syncdb, then I had to uncomment each app and sync one by one. I think my problem was that I had one app depending on the other, and that was causing the error. Dane Larsen On Apr 26, 9:49 pm,

Re: Django DatabaseError when using sqlall and syncdb

2010-04-27 Thread larsendt
Thanks for the reply. So here's what I just did. In MySQL I did: DROP DATABASE peace_tracker_db; Then I did: CREATE_DATABASE peace_tracker_db; Then: python manage.py syncdb Which gave me the error: django.db.utils.DatabaseError: (1146, "Table

Re: Django DatabaseError when using sqlall and syncdb

2010-04-27 Thread Fred Chevitarese
Hi! As you said, you´ve created a new database, or you created a database and restore a backup ? Try to create a new and after this, run syncdb. http://chevitarese.wordpress.com Fred Chevitarese - GNU/Linux 2010/4/27 larsendt > I'm having issues creating a new

Django DatabaseError when using sqlall and syncdb

2010-04-27 Thread larsendt
I'm having issues creating a new database for my app. I'm using the Django 1.2 beta. I wrote the "people" app on another computer, and now I'm trying to get it working on a little server I have set up. When I try: ./manage.py sqlall people I get the error: django.db.utils.DatabaseError: