Might work, feels a bit hacky though. Thanks, Michael
2009/7/3 Boštjan Jerko <ml...@japina.eu>: > > > On 3.7.2009, at 11:36, Michael Stevens wrote: > >> >> Hi. >> >> Is there a nice way to use a separate db user when running tests? >> >> I don't want my main user to have to have permissions to do things >> like creating databases. >> >> I'm currently experimenting with doing something with a separate >> settings.py file but it doesn't feel nice. >> >> Michael > > What about if statement in settings.py to check if DEBUG or any other > system variable is True? > > B. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---