Archive for the 'general' Category

How to set up a Django friendly development environment on a Mac

Thursday, February 1st, 2007

Needless to say that ever since I bought my MacBook Pro, I don't develop on my desktop computer anymore. A DVI cable goes straight into my 26" wide screen monitor and I have all the power in the world.
jEdit was for awhile my editor of choice. It has a nice layout, secure ftp client and supports all the languages I need. The down side is it eats up too much memory and crashes quite often.
(more…)

Django flatpages on steroids – our 'Page' application

Monday, August 14th, 2006

Given the nature of the site we need to manage, which has lots of time-sensitive content AND lots of relatively static content, figuring out how to deal with the more static, often free-form content was a big issue for us in formulating a plan to use Django to create Sputnik. Built into Django is the notion of flatpages – static files that are served in situations where a URL doesn't map to a normal Django view/function. We were looking for something that would allow content managers to work within the standard Django admin interface to maintain the content of their basically static, free-form pages, while still taking advantage of Django's templates for basic "window dressing" kinds of stuff (banners, standard navigation, etc.)

To accomplish this we decided we'd create a beefier version of flatpages. Here's the rundown of what we wanted out of a good static-page manager.
(more…)