django-template-server 0.3.1

Makes it easy to test Django templates

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.
BSD

Author

Jonas Obrist

Pip

django-template-server==0.3.1

Classifiers

  • Intended Audience :: Developers
  • Programming Language :: Python :: 2
  • Programming Language :: Python :: 2.7
  • Development Status :: 4 - Beta
  • License :: OSI Approved :: BSD License
  • Topic :: Software Development
File Type Python Version Uploaded On Downloads
django-template-server-0.3.1.tar.gz Source Aug. 2, 2011 2,528
Version Release Date
0.3.1 Aug. 2, 2011
0.3 Aug. 2, 2011
0.2 July 28, 2011
0.1 July 28, 2011
Date Package Version Action
Aug. 26, 2015, 12:28 a.m. django-template-server 0.2 Release Created
Aug. 26, 2015, 12:28 a.m. django-template-server 0.3.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-template-server 0.3 Release Created
Aug. 26, 2015, 12:28 a.m. django-template-server 0.1 Release Created
Aug. 26, 2015, 12:28 a.m. django-template-server Package Created