On Wed, 2007-03-28 at 21:25 -0700, [EMAIL PROTECTED] wrote: > Hi, > > I have question about how to tell django (manage.py test) to > use sqlite3 to run unit testing even if in real settings set database > engine to sometinhg.
Pass in your customised test settings file. This file could import your normal settings file, if you don't need to change much, and then just override the values you wish to change. For example (untested): test_settings.py ----------------- from settings import * DATABASE_ENGINE = 'sqlite3' Then run your tests as manage.py --settings=test_settings test Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---