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
./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
-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.
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django-template-server-0.3.1.tar.gz | 4.8 kB | Without provenance | Details for django-template-server-0.3.1.tar.gz |
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 |
Security for django-template-server 0.3.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.