Skip to content

Instantly share code, notes, and snippets.

@vovanbo
Last active December 30, 2015 10:29
Show Gist options
  • Save vovanbo/7816561 to your computer and use it in GitHub Desktop.
Save vovanbo/7816561 to your computer and use it in GitHub Desktop.
Dash.app snippet for starting django project using template with context.
django-startproject.py __project-name__ --extension="py,rst,conf,wsgi" --template=https://github.com/tangentlabs/tangent-django-boilerplate/zipball/master --extra_context='{"client":"__client__", "project_code":"__project-code__", "domain":"__domain__", "timezone":"__timezone__"}'
@vovanbo
Copy link
Author

vovanbo commented Dec 6, 2013

Used template:
https://github.com/tangentlabs/tangent-django-boilerplate
Start project helper:
https://github.com/alfredo/django-startproject-plus

Using:

> pip install https://github.com/alfredo/django-startproject-plus/archive/master.zip
> dash-snippet-name#

Where dash-snippet-name# is name of snippet in your Dash.app.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment