Skip to main content

#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’

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.2.tar.gz (1.9 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.2.tar.gz.

File metadata

File hashes

Hashes for django-direct-render-0.1.2.tar.gz
Algorithm Hash digest
SHA256 6c84e07b79af423beef13c8a1650d6df3dc1227c60f0a0343b7ad3ff5ab59a56
MD5 7c668ee81b85ca1ce936fdcdf708029e
BLAKE2b-256 9ce5c21840cae0ab366d96dbf292993a23c69a5ef2a0b0488366daeec2117747

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for django-direct-render-0.1.2.macosx-10.10-intel.tar.gz
Algorithm Hash digest
SHA256 e423cf8cf18edc31587373fb6afa52a254baa501a2b81abd4571fb351b244a24
MD5 f7dc00844c43095af0d4abddfcc3af3e
BLAKE2b-256 6f957b2f8ca0c6ea36ae8c98fda40518b8821f0fcb774a880c2a3d89d01df3b1

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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