On Aug 25, 12:22 pm, Alex Gaynor <alex.gay...@gmail.com> wrote: > You can put your tests in a tests.py file, however you still need to > have an empty models.py file, so Django picks up the app correctly.
Thanks Alex - unfortunately, if I put an empty models.py file in, I get an exception when the test runner creates the test DB. By looking at the verbose output, it appears that: Creating many-to-many tables for auth.Group model is being run a second time, resulting, predictably, in the error: table "auth_group_permissions" already exists This seems like a bit of magic to me - I'm not sure why Django is trying to create the auth many-to-many tables a second time simply because I add an empty models.py file to my app. My custom auth app IS also called auth, but lives under a completely different project path.... hmmmm. --~--~---------~--~----~------------~-------~--~----~ 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 django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---