Skip to content

Commit

Permalink
add invoke task for making migrations for the first time in postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
erinspace committed Aug 12, 2015
1 parent b412e03 commit 155fca2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,8 @@ def provider_map(delete=False):
@task
def apiserver():
os.system('python manage.py runserver')


@task
def apidb():
os.system('python manage.py migrate')

0 comments on commit 155fca2

Please sign in to comment.