Articles tagged with django:

9
Dec
2008

django, spam

Simple spam defense for Django comments

A simple way to block comment spam with the Django 1.0 contrib comments application.

29
Oct
2008

django, seo

Django sitemap class for named views

This sitemap class allows you to specify which named views your sitemap should include. Useful for views that don't map to models, or when you don't want to include all your flatpage or direct-to-template URLs.

23
Oct
2008

django, proxy, ssl, wsgi

Django WSGI handler and SSL proxies

When serving both HTTP and HTTPS in my preferred deployment setup — nginx in front of Apache with mod_wsgi running Django — I had to figure out how to let Django know whether a request was secure or not. Here's how I did it.