mirror of
https://github.com/ansible/awx.git
synced 2026-02-01 01:28:09 -03:30
Various Django cleanup
This commit is contained in:
@@ -60,7 +60,7 @@
|
||||
django_manage: >
|
||||
command=syncdb
|
||||
app_path=${working_dir}/acom
|
||||
|
||||
#- name: run south migrations
|
||||
# command: python ${working_dir}/acom/manage.py migrate db_migrate
|
||||
|
||||
- name: run south migrations
|
||||
command: python ${working_dir}/acom/manage.py migrate main
|
||||
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# Django settings for acom project.
|
||||
|
||||
import sys
|
||||
|
||||
DEBUG = True
|
||||
TEMPLATE_DEBUG = DEBUG
|
||||
|
||||
@@ -20,6 +22,11 @@ DATABASES = {
|
||||
}
|
||||
}
|
||||
|
||||
if 'test' in sys.argv:
|
||||
DATABASES['default'] = {
|
||||
'ENGINE': 'django.db.backends.sqlite3'
|
||||
}
|
||||
|
||||
# Local time zone for this installation. Choices can be found here:
|
||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||
# although not all choices may be available on all operating systems.
|
||||
|
||||
Reference in New Issue
Block a user