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.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dbcb9292a281517db288227c7e3f027197c2246ba3e002b785551cad7c290d25 |
|
MD5 | 94e1e47a7b76cbbad38e7e44d555bdd7 |
|
BLAKE2b-256 | 8c3ac20cc29cf348467532cbc00ca4f0a51a4470f06a79782eb021aeedc18c7e |
Close
Hashes for django-direct-render-0.1.0.macosx-10.10-intel.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11361efe6930bd859a4cfb9a16533f7a58edc14c472a77481c74d6964c13f124 |
|
MD5 | 1601d8a636fc57d55a99e5363463da4a |
|
BLAKE2b-256 | 2152469ac39edb00eac5df2e04a99a6ee2efd25d331d4819c91eaa7ece9e0ee9 |