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.
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
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
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"}'
- Support
django-admin.py startapp
.