Fork me on GitHub

Tag Django

Subdomains in Django: An Example

In Django Middleware is a class which respond to one of these methods: process_request, process_view, process_response or process_exception. For more informations see the Django middleware docs.

WSGI & Django Applications on Passenger

Quite cool thing I discovered recently is that you can deploy WSGI applications (Django etc) on Passenger. There is an example app for WSGI out there. Similarly as in Ruby, you have config.ru passenger_wsgi.py which looks like this (it's a slightly modified version of the linked example):

About

RSS

All Posts Django

Tags

GitHub projects

Twitter @botanicus

Recent Comments