Makes it easy to test Django templates
Project description
Runs a server that renders Django templates.
Installation
sudo pip install django-template-server
Usage
maketemplateserver
./runserver.py 8000
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
-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
File details
Details for the file django-template-server-0.2.tar.gz
.
File metadata
- Download URL: django-template-server-0.2.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43888adcb6945e8c927f52a0395120a3367e984357cd9d6e3ec709a932c8cced |
|
MD5 | 4bb23ecf6e8205d8765bdebd998cd45d |
|
BLAKE2b-256 | a98e539670ba75f249810b3cf38f8c064531b4e2f92a6ef9fac47fea463954d6 |