Avoid calling setup_environ explcitly, since we have DJANGO_SETTINGS_MODULE.
Avoid calling setup_environ explcitly, since we have DJANGO_SETTINGS_MODULE.

setup_environ is deprecated in Django >= 1.4 and will just cause problems.

See http://www.b-list.org/weblog/2007/sep/22/standalone-django-scripts/
for an old but accurate description of the options for seting up a Django
environment.

reincubate/pytest-django,bforchhammer/pytest-django,pelme/pytest-django,ktosiek/pytest-django,felixonmars/pytest-django,davidszotten/pytest-django,tomviner/pytest-django,pombredanne/pytest_django,RonnyPfannschmidt/pytest_django,thedrow/pytest-django,ojake/pytest-django,hoh/pytest-django,aptivate/pytest-django