summaryrefslogtreecommitdiff
path: root/tasks.py
diff options
context:
space:
mode:
authorankitjavalkar2017-12-28 14:48:10 +0530
committerankitjavalkar2018-01-04 11:37:21 +0530
commitca9e214a28dd0546855863041efe7e6d8de6710e (patch)
treeb8805973a394a94b38eef66986850b78cf79f118 /tasks.py
parent04eeb95a8f218944632dee0547babdeef2e42c53 (diff)
downloadonline_test-ca9e214a28dd0546855863041efe7e6d8de6710e.tar.gz
online_test-ca9e214a28dd0546855863041efe7e6d8de6710e.tar.bz2
online_test-ca9e214a28dd0546855863041efe7e6d8de6710e.zip
- Modify code server docker file to remove Oracle JDK, JRE
- Add decorator to tasks
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")