Re: Modify Installed_Apps settings

2015-02-19 Thread Andrew Pinkham
I am learning all sorts of things about Django's testing system (instead of actually getting work done). The database schema is actually created via a call create_test_db() called on line 366 of setup_databases() in DiscoverRunner in django/test/runner.py. It's within this function, found in dj

Re: Modify Installed_Apps settings

2015-02-18 Thread Andrew Pinkham
Thanks for the info, Joel. However, I'm trying to avoid creating a separate settings file. Any info about how to properly use modify_settings to add to installed apps or how to force the test runner to apply a specific migration would still be appreciated. Thanks, Andrew -- You received this

Re: Modify Installed_Apps settings

2015-02-18 Thread Joel Goldstick
On Wed, Feb 18, 2015 at 2:03 PM, Andrew Pinkham wrote: > I have an app in Django 1.7.4 that I would like to use purely for testing. > > $ ./manage.py startapp override > > The app contains its own model, view, and URL pattern (the model overrides a > model in another app, allowing me to test

Modify Installed_Apps settings

2015-02-18 Thread Andrew Pinkham
I have an app in Django 1.7.4 that I would like to use purely for testing. $ ./manage.py startapp override The app contains its own model, view, and URL pattern (the model overrides a model in another app, allowing me to test behavior in a specific case). For the moment, I have the app in I