summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
Diffstat (limited to 'tasks.py')
-rw-r--r--tasks.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tasks.py b/tasks.py
index 8c78838..ac2721a 100644
--- a/tasks.py
+++ b/tasks.py
@@ -45,6 +45,7 @@ def setupdb(ctx):
ctx.run("python manage.py migrate")
print("** Done! Migrations complete **")
+@task
def loadfixtures(ctx):
print("** Loading fixtures into database **")
ctx.run("python manage.py loaddata demo_fixtures.json")