Skip to main content

Kick-start your prototype with Django templates

Project description

Kick-start your prototype with Django templates

What is it?

You are starting a new Django project and would like to use the awesomeness of Django templates without going through setting up a Django project.

Shoot does that for you.

Usage

You will need Pip with Python3.

On Ubuntu:

$ sudo apt-get install python3-setuptools
$ sudo pip3 install shoot
$ shoot

Custom Config

If the file shootconfig.py is present in the dir shoot is launched from, with contents:

context = {}

shoot will pass this dictionary to Context objects used in rendering templates

If the file django_settings.py is present in the dir shoot is launched from, shoot will use it as the DJANGO_SETTINGS_MODULE. This file must contain the following variables:

DEBUG = True
TEMPLATE_DEBUG = True
TEMPLATE_DIRS = (os.getcwd(),)
SECRET_KEY = "not-so-secret"
STATIC_URL = "/static/"
INSTALLED_APPS = ('django.contrib.staticfiles',)

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

Shoot-0.1.1.tar.gz (3.7 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