Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

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’

Release History

This version
History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

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

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
django-direct-render-0.1.2.macosx-10.10-intel.tar.gz
(2.2 kB) Copy SHA256 Hash SHA256
Dumb Binary any May 24, 2015
django-direct-render-0.1.2.tar.gz
(1.9 kB) Copy SHA256 Hash SHA256
Source None May 24, 2015

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting