Django superset startproject command for creating new projects.
Project description
Wrapper around Django’s startproject command. Supersets the command by adding an support for passing extra context when using the template functionality.
This command can be invoked with the same flags that startproject supports.
Why?
The template functionality on Django’s startproject command is great, but a template system without support for more context variables is not very helpful with more complex setups.
This issue has been brought up to the django-devs mailing list https://code.djangoproject.com/ticket/18277
Installation
This package requires at least Django 1.5.x installed. Latest Django 1.8.x is supported.
The package is available in pypi:
pip install django-startproject-plus
Usage
This is a drop in replacement for the django-admin.py startup, with an extra_context flag:
django-startproject.py myproject --extra_context='{"some": "json"}'
TODO
Support django-admin.py startapp.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-startproject-plus-0.1b.2.tar.gz
.
File metadata
- Download URL: django-startproject-plus-0.1b.2.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5cfb2bf20355f278557eb12daef14dc8de1d75598e8ee8a604aa06e8735940c |
|
MD5 | c165fcf13c224b8d76033ae1f4ce72a4 |
|
BLAKE2b-256 | 89af4a1e92d35942348261171b0d858a710d92312a495ab5b4159a36a19b9e32 |