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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c84e07b79af423beef13c8a1650d6df3dc1227c60f0a0343b7ad3ff5ab59a56 |
|
MD5 | 7c668ee81b85ca1ce936fdcdf708029e |
|
BLAKE2b-256 | 9ce5c21840cae0ab366d96dbf292993a23c69a5ef2a0b0488366daeec2117747 |
Close
Hashes for django-direct-render-0.1.2.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e423cf8cf18edc31587373fb6afa52a254baa501a2b81abd4571fb351b244a24 |
|
MD5 | f7dc00844c43095af0d4abddfcc3af3e |
|
BLAKE2b-256 | 6f957b2f8ca0c6ea36ae8c98fda40518b8821f0fcb774a880c2a3d89d01df3b1 |