A simple Django app that will render template directly for you
Project description
#django direct render
render a simple html without wirting view function.
## INSTALLATION
pip install django_direct_render
### INSTALLED_APP
in INSTALLED_APP, add the following entry
‘direct_render’
### project urls.py
add the folowing line at top
import direct_render.urls
add the following url configuration in your urls.py
url(r’^direct_render/’, include(direct_render.urls)),
the abover the regular expression can change with your desire
### Usage
put xxx.html in templates.
browse file directly from ‘direct_render/xxx.html’
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for django-direct-render-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f4dbae82e354d13945f7d591bc297ad64b47dfdc1a49cf2f69324031870efce |
|
MD5 | 2fbaab92d28b43f38dd65ccdffa11c8f |
|
BLAKE2b-256 | 62bfee37651aaba316b7fd132f5e7e1537a5bde6d54a5158f86e819fdcdedece |
Close
Hashes for django-direct-render-0.1.1.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20fcc4dc10852d1da0efb9a2fc1ec0fcd87df3f4496da4535b4e8847ba2be03f |
|
MD5 | 4c7fba4fd7543f7f64781f4b5fc3554d |
|
BLAKE2b-256 | 69af320469c4f561e12e3767149fd1afd66252dbebee330b9587666551e22f83 |