| 1 | MANAGE_PY = python manage.py |
| 2 | |
| 3 | |
| 4 | default: all |
| 5 | |
| 6 | |
| 7 | all: |
| 8 | |
| 9 | |
| 10 | run: |
| 11 | $(MANAGE_PY) runserver |
| 12 | |
| 13 | shell: |
| 14 | $(MANAGE_PY) shell |
| 15 | |
| 16 | test: |
| 17 | $(MANAGE_PY) test example accounts site news |
| 18 | |
| 19 | resetdb: |
| 20 | rm -f xnet/db.sqlite |
| 21 | $(MANAGE_PY) syncdb --noinput |