Skip to main content

A small django app that provides an enhanced startapp management command. An extra parameter called extra_context is supplied to allow for more flexible app templates.

Project description

Installation
==========

Installing:

easy_install django-startappextracontext

or:

pip install django-startappextracontext

Then add `startappextracontext` to your `INSTALLED_APPS`:

INSTALLED_APPS = (
#... your other apps

('startappextracontext'),
)

Example usage
===========

To create an new app called `my_stuff` from a custom template residing in `~/my-custom-app-template` with the
custom variable `model_name` with value `Stuff` you can do the following:

./manage.py startappextracontext --template=~/my-custom-app-template --extra-context=[model_name]Stuff my_stuff

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

django-startappextracontext-0.1.tar.gz (3.5 kB view hashes)

Uploaded Source

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