excess.org

Ian Ward

Consulting
GenericConsulting.ca
Software
Urwid 2008-07-14 (0.9.8.3)
Speedometer 2008-05-29 (2.6)
Templayer 2006-09-25 (1.4)
mkzip.py 2003-09-15 (1.2)
File Tosser 2001 (0.1e-6)
Writing
Tags

Home

Ian Ward's email:
first name at this domain

Facebook profile

Locations of visitors to this page

Articles Tagged “Django” rss icon

Posted on 2007-08-07, last modified 2008-05-14.

The recommended way of installing Django sites is to use mod_python. mod_python allows Apache to serve content much more quickly than CGI, but using it can create problems that are difficult to debug.

mod_python embeds the python interpreter in Apache and can share python interpreters between virtual hosts. This means that a misbehaving Python program can do much more damage than it could if it was running as a CGI script.

Read More …

Tags: Django


Posted on 2007-06-24, last modified 2008-05-14.

Django comes with an amazingly powerful database API that does a very good job of hiding database-specific SQL. Sometimes, though, the API doesn't do exactly what you expect. I ran into this when developing the code that displays the “Tags” that have stories posted.

Fortunately, there is a fairly easy way to get down to the SQL and see what is happening when something goes wrong.

Read More …

Tags: Django


Django Overview Slide
Posted on 2007-06-13, last modified 2007-06-22.

On May 31 I gave a tutorial on the new site code for the Ottawa Canada Linux Users Group.

The new site is based on Django. It implements the logic for displaying upcoming and past events, tracking speakers, locations and images. It can also display announcements as part of the front page.

The slides from my tutorial and the source code at various stages are attached below.

Read More …

Tags: Django OCLUG


Django-powered excess.org link
Posted on 2007-06-03, last modified 2007-06-22.

After eight years as a static page with a bunch of links, excess.org has gone dynamic. I've used the Django web development framework and my own Templayer HTML templating library to update the site. I hope to use this page to announce updates to my projects and write occasionally about things I am working on.

Tags: Django Templayer