Commit f281e653 by Clinton Blackburn Committed by Clinton Blackburn

Revert "Upgraded to Django 1.7"

parent 8f9245c3
......@@ -4,7 +4,7 @@ COVERAGE = $(ROOT)/build/coverage
PACKAGES = analyticsdataserver analytics_data_api
DATABASES = default analytics
.PHONY: requirements develop clean diff.report view.diff.report quality migrate
.PHONY: requirements develop clean diff.report view.diff.report quality syncdb
requirements:
pip install -q -r requirements/base.txt
......@@ -46,8 +46,8 @@ quality:
validate: test.requirements test quality
migrate:
$(foreach db_name,$(DATABASES),./manage.py migrate --noinput --database=$(db_name);)
syncdb:
$(foreach db_name,$(DATABASES),./manage.py syncdb --migrate --noinput --database=$(db_name);)
loaddata: migrate
python manage.py loaddata education_levels problem_response_answer_distribution --database=analytics
......
......@@ -19,8 +19,8 @@ Getting Started
2. Setup the databases:
$ ./manage.py migrate --noinput
$ ./manage.py migrate --noinput --database=analytics
$ ./manage.py syncdb --migrate --noinput
$ ./manage.py syncdb --migrate --noinput --database=analytics
3. Create a user and authentication token. Note that the user will be created if one does not exist.
......
......@@ -181,6 +181,7 @@ DJANGO_APPS = (
)
THIRD_PARTY_APPS = (
'south',
'rest_framework',
'rest_framework.authtoken',
'rest_framework_swagger',
......
Django==1.7 # BSD License
Django==1.6.6 # BSD License
Markdown==2.4.1 # BSD
South==1.0 # Apache License
django-model-utils==1.4.0 # BSD
djangorestframework==2.3.5 # BSD
ipython==2.1.0 # BSD
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment