Skip to main content

Makes it easy to test Django templates

Project description

Runs a server that renders Django templates.

This is intended for frontend developers and designers to be able to work with Django templates before a backend developer/sysadmin sets up the Django project properly.

Installation

  • sudo pip install django-template-server

Usage

maketemplateserver

Creates a runserver executable

Available options:

  • -t/--templatedir: Folder with your templates, defaults to ./templates

  • -m/--mediadir: Folder with your media (css/js) files, defaults to ./media

  • -s/--staticdir: Folder with your static (css/js) files, defaults to ./static

  • -d/--django: Django version to use, defaults to 1.3

  • -r/--runserverpath: Location where to put the runserver executable, defaults to ./runserver.py

runserver.py

Runs a server that serves templates

Available options:

  • -l/--local: Make the server only listen locally.

  • A port number can be given as positional argument, defaults to the lowest open port number above 8000.

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-template-server-0.3.1.tar.gz (4.8 kB view details)

Uploaded Source

File details

Details for the file django-template-server-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-template-server-0.3.1.tar.gz
Algorithm Hash digest
SHA256 057bf67d626662e1d9e9d8959bd1cdd273f015a8b659c7679aa76db4b9216c98
MD5 d2fbafc910a22cd07285b25941258654
BLAKE2b-256 98dc5c348263de2dafcdfe2fe662b442043f14f254c0c04713a9e0ac26a09dd0

See more details on using hashes here.

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