Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
autotest
/
74ed93efbbf8b588b5dd4ae94456006fcb822126
/
frontend
/
setup_django_environment.py
7844a1b
autotest: Log DB Autocommit enable.
by Don Garrett
· 6 years ago
722c3e7
[autotest] Do not enable autocommit for server database
by Dan Shi
· 10 years ago
9a535c9
[autotest] Add server database to django model.
by Dan Shi
· 10 years ago
8a764d1
[autotest] Use global database for tko models in django v3.
by Jakob Juelich
· 10 years ago
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