0

How can I test my app in django, so that it connects to my local database and does NOT require me to create a test database?

2
  • Please show what you have done so far... Commented Sep 6, 2013 at 7:12
  • if you want to do testing you have simply to define a mirror of your existing DB in the setting.py Commented Sep 6, 2013 at 11:05

1 Answer 1

0

Can't you specify the details of your development database in settings.py? This would connect you to the existing database and remove the need to create a new test instance.

Sign up to request clarification or add additional context in comments.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.