Django Blueprint

Management helper blueprint.

Fabric environment:

blueprints:
  - blues.django

settings:
    # manage: ../manage.py  # Manage module relative to python path; ./src (Default: manage.py)
    # use_south: false      # Enable south migrations, only for Django < 1.7 (Default: true)
    # use_syncdb: true      # Enable syncdb, only for Django < 1.7 (Default: false)
manage

Run django management command

deploy

Migrate database and collect static files

version

Get installed version

migrate

Migrate database

collectstatic

Collect static files

syncdb

Runs manage.py syncdb