summaryrefslogtreecommitdiff
path: root/Makefile.example
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.example')
-rw-r--r--Makefile.example18
1 files changed, 3 insertions, 15 deletions
diff --git a/Makefile.example b/Makefile.example
index abbaf9202..35b26afc4 100644
--- a/Makefile.example
+++ b/Makefile.example
@@ -66,10 +66,6 @@ pylint:
done
fresh_syncdb:
- cd $(project); $(PYTHON) ./manage.py syncdb --noinput 2> /dev/null > /dev/null
- cd $(project); $(PYTHON) ./manage.py migrate ishtar_common 2> /dev/null > /dev/null
- if [[ '$(apps)' == *archaeological_files* ]]; then cd $(project); $(PYTHON) ./manage.py migrate archaeological_files 2> /dev/null > /dev/null; fi
- $(PYTHON) ./manage.py migrate archaeological_operations 2> /dev/null > /dev/null
cd $(project); $(PYTHON) ./manage.py migrate 2> /dev/null > /dev/null
echo "* load default data"
# data migrations have created some default data - return to a clean state
@@ -103,7 +99,6 @@ fresh_syncdb:
rm /tmp/site.json
syncdb:
- cd $(project); $(PYTHON) manage.py syncdb --noinput
cd $(project); $(PYTHON) manage.py migrate
shell:
@@ -128,18 +123,11 @@ compilemessages:
collectstatic:
cd $(project);$(PYTHON) manage.py collectstatic --noinput
-schemamigrations:
- cd $(project);\
- for APP in $(apps); do \
- echo "* schemamigration for "$$APP; \
- $(PYTHON) manage.py schemamigration --auto $$APP; \
- done
-
-schemamigrations_initial:
+migrations:
cd $(project);\
for APP in $(apps); do \
- echo "* schemamigration for "$$APP; \
- $(PYTHON) manage.py schemamigration --initial $$APP; \
+ echo "* makemigrations for "$$APP; \
+ $(PYTHON) ./manage.py makemigrations $$APP; \
done
generate_doc: