Hi, new to Django-

I have my data model all created. I can run syncdb once, and it creates
my database schema:

C:\webapp\Site>python manage.py syncdb
Creating table auth_message
Creating table auth_group
Creating table auth_user
Creating table auth_permission
Creating many-to-many tables for Group model
Creating many-to-many tables for User model
Creating table django_content_type
Creating table django_session
Creating table Q_category
... etc ...

If I run it a second time, it fails with this error:
  File "c:\Python24\lib\site-packages\MySQLdb\connections.py", line 35,
in defau
lterrorhandler
    raise errorclass, errorvalue
_mysql_exceptions.OperationalError: (1050, "Table 'q_category' already
exists"
)

Is it bad for a Django app to start with a capital letter?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to