Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
8b110eeff624e9724c1b717394d0828b3371221f
/
frontend
/
setup_django_environment.py
47d6128
[autotest] Bump django to 1.5.
by Alex Miller
· 11 years ago
fa8629c
-ensure Django connection is autocommit enabled, when used from monitor_db
by showard
· 16 years ago
364fe86
Refactor the basic environment setup code out of django_test_utils.py into setup_django_environment.py, and rename django_test_utils.py to setup_test_environment.py. Also changed the environment setup code to run at import time. This makes it easy for scripts, both test and non-test, to use Django models without running through manage.py. The idea is that scripts will import setup_django_environment before importing Django code (somewhat akin to common.py), and test code will subsequently import setup_test_environment.
by showard
· 16 years ago