Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-direct-render-0.1.1.tar.gz (1.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django-direct-render-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-direct-render-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f4dbae82e354d13945f7d591bc297ad64b47dfdc1a49cf2f69324031870efce
MD5 2fbaab92d28b43f38dd65ccdffa11c8f
BLAKE2b-256 62bfee37651aaba316b7fd132f5e7e1537a5bde6d54a5158f86e819fdcdedece

See more details on using hashes here.

File details

Details for the file django-direct-render-0.1.1.macosx-10.10-intel.tar.gz.

File metadata

File hashes

Hashes for django-direct-render-0.1.1.macosx-10.10-intel.tar.gz
Algorithm Hash digest
SHA256 20fcc4dc10852d1da0efb9a2fc1ec0fcd87df3f4496da4535b4e8847ba2be03f
MD5 4c7fba4fd7543f7f64781f4b5fc3554d
BLAKE2b-256 69af320469c4f561e12e3767149fd1afd66252dbebee330b9587666551e22f83

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page