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

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page