Skip to main content

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 Django 1.5.x installed.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-startproject-plus-0.1b.1.tar.gz (2.5 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page