Recent Posts

Archive

2012

2011

2010

2009

2008

2007

2006

Tags

Authors

Brad Montgomery

Feeds

RSS / Atom

Blog

Viewing posts tagged django

PostgreSQL 9.1.2 via homebrew on OS X 10.7.2

Dec. 12nd, 2011 In: None By: Brad Montgomery 0 comments

I just picked up a snazzy new Macbook Air, and I'm working on setting up my development environment(s). For the most part this has been fairly easy. I pull in my repos from github and bitbucket, and I use virtualenv and pip to organize all my python packages (mostly installing from requirements files). Most of the other command-line tools get intalled with homebrew, and this time around I decided to install PostgreSQL with homebrew.

read more

Chosen.js in the Django admin

Dec. 12th, 2011 In: None By: Brad Montgomery 0 comments

Quite some time ago, I ran across the chosen.js plugin for jQuery and Prototype (I'm using the jQuery flavor). My first thought upon seeing this was, "This would rock in Django's admin app." Yet for some reason, I didn't make that happen.

read more

SiteSprint III - The Reclaimation

Nov. 11nd, 2010 In: None By: Brad Montgomery 32 comments

My personal website is a disgrace. As a web developer, I find it embarrassing that my own site is a cobbled-together mess of PHP and static html. Only slightly less embarrassing is my blog, which is obviously hosted on Blogger. Even though Blogger has recently added a few new themes, I'm still unhappy with the look-and-feel of my blog. So, since SiteSprint III has officially started, I'm taking this opportunity to Reclaimâ„¢ my personal website.

read more

A case for values_list

July 7th, 2010 In: None By: Brad Montgomery 3 comments

Here's the Scenario: I have a model (lets call it Contact) with two Foreign Keys, one of which is related to User in Django's contrib.auth app. I need to build a form that lets me select an existing object, and a new user.

read more

Vim Syntax highlighting for Apache Config Files

June 6th, 2010 In: None By: Brad Montgomery 4 comments

I use Django with Apache and mod_wsgi. Each project that I work on has different apache config files, so I like to keep those in the same mercurial repo that contains my django project's code.

read more

Page 1 of 5: