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.

Files for django-startappextracontext, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size django-startappextracontext-0.1.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page