The Django and Ubuntu Intrepid Almanac

February 13, 2009 This heavy tome of wisdom will guide you, keystroke by keystroke, through configuring a mod_wsgi, Postgres, memcached, Django server on Ubuntu Intrepid. Written for a complete command line beginner, but hopefully useful to everyone (I know I'll have to refer to it to remember how to add additional domains to my server as well ;).

Filed under djangoubuntumemcachepostgresqlapachenginxmod_wsgi

Using Optional Parameters in Django Urls

February 4, 2008 A simple but helpful trick for using optional parameters in Django views to allow one view to serve multiple urls with varying parameters.

Filed under djangopython

Development to Deployment in Django

November 3, 2008 An overview of my pipeline between development and deployment for Django projects. Fabric and Git turn a potentially unhappy task into something very quick and easy.

Filed under django

User Registration Apps for Django

October 25, 2008 This entry performs a quick overview of the different existing user registration for the Django web framework. It should help someone who is attempting to decide between the pluggable user registration/authentication applications.

Filed under django

Using PyFacebook without the Facebook middleware

December 1, 2007 I've been working on a Facebook application with a couple of friends recently. We decided to use PyFacebook library, but there was a brief period of intense confusion on my part about how to use the PyFacebook library without the included middleware. I worked through it, though, and this article has some advice on how you can do the same.

Filed under facebookpyfacebookdjangopython

Custom Django Views for Happier Ajax

September 24, 2008 This is the second part in the Django, jQuery & Ajax tutorial series, and takes a look at improving our first stab at Ajaxy functionality with something a bit... how shall we put it... less awful, by using custom Django views to respond to Ajax requests.

Filed under jquerydjangojavascript

IE's New Infrastructure and Writing Workflow

March 29, 2011 In this post I briefly discuss the (questionably) novel aspects of the new Sisyphus blog engine which hosts this blog.

Filed under sisyphusredisgitnginxdjango

Dreamier Dream Server with Nginx

July 17, 2007 Upon posting my first dream server setup, it became apparent that it was less dreamy than I had thought. This article is a reworking of the earlier post, but using nginx as a frontend to an Apache2 backend. Rather than... Apache2 as a frontend to Lighttpd. It has also been pared down a bit, removing the security topics (it didn't cover them well anyway). And its more concise, as in its very much unlike this description.

Filed under djangoslicehostubuntumemcachepostgresqlapachenginx

Creating my Dream Server for Django

July 13, 2007 Recently I redid my server to have a solid Django serving atmosphere: apache2, Python 2.5, memcached, lighttpd for serving static media. These are the cleaned up and formatted notes I used to guide myself through the installation process on my 256 meg SliceHost slice.

Filed under djangolighttpdmemcachepostgresqlslicehostubuntu

A Django Middleware for Google Analytics (repost)

June 14, 2007 This is the new home of an old entry from the now defunct original incarnation of *Irrational Exuberance*. These entries are almost two years old, and haven't necessarily aged well, but maybe that's a good thing. This article looks at implementing a Django middleware that injects Googlel Analytics tracking into pages.

Filed under django

Suffer Less By Using Django Dev Server as a Proxy

September 30, 2008 A quick look at how to use Django (and specifically the development server) as a proxy to remove some pain in your life when developing static media changes to an existing site quickly.

Filed under djangoprototyping