On Mon, 2006-10-23 at 21:22 +0000, yary wrote: > 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?
It might be that when reading the database tables from the database and comparing them against models, we aren't being case insensitive at the right moments (I cannot remember how database-specific that sort of behaviour is, either). It would be great if you could reduce this to a simple test case (one app containing one model and no other applications installed, say) that fails reliably. Then we would have a real bug and a test case that fails reliably. If you get that far, or at least are able to narrow it down a little bit, please do file a bug ticket. Thanks, Malcolm --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

