Skip to main content

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.

Release files for django-template-server 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-template-server 0.3.1
File Size Uploaded
django-template-server-0.3.1.tar.gz 4.8 kB Details

Release files / django-template-server-0.3.1.tar.gz

Download URL django-template-server-0.3.1.tar.gz
Size 4.8 kB
Tags Source
SHA-256 checksum
How to use checksums
057bf67d626662e1d9e9d8959bd1cdd273f015a8b659c7679aa76db4b9216c98
BLAKE2b-256 checksum
How to use checksums
98dc5c348263de2dafcdfe2fe662b442043f14f254c0c04713a9e0ac26a09dd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3.1 This release

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page