Chicago Django/Python Blog - Imaginary Landscape
April 09, 2013 9:51 a.m.
Upgrades: Making the Jump from Django Old to Django New
Sometimes we are faced with the challenge of upgrading old Django-based projects. The task can be daunting, as a lot has happened in Django within the last few years. Since Django 1.1.1, Django has been through 15 micro releases and 4 minor releases. The term "minor" seems deceptive as a lot of changes occur between Django 1.x and 1.[x+1]. The ideal situation would be to incrementally keep one's Django application up to date as new releases are issued; that's not always possible for ...
Updated 04/09/13 @ 09:51AM CDT by jjasinski0 Comments
December 28, 2011 6:27 p.m.
Fabric is a Python (2.5 or higher) library and command-line tool for streamlining
the use of SSH for application deployment or systems administration tasks.
The tutorial is a great resource as Fabric does not have a dense API. In fact, it has a childishly simple API. Today, I found myself using it to simplify a process I had been repeatedly performing manually. A client site of ...
Updated 12/28/11 @ 06:27PM CST by dlacewell
September 21, 2011 12:37 p.m.
GeoDjango is fairly well documented on the Django website. My aim with this walkthrough is to reduce the Django documentation to a simple set of steps that will quickly get you started experimenting with GeoDjango. As a result, some of the initial steps are summarized from the Django site with only slight modifications to fit the circumstances ...
Updated 09/21/11 @ 12:37PM CDT by jjasinski
August 29, 2011 9:47 a.m.
This article aims to highlight some of the admin customizations that I find particularly useful when trying to make the admin more than just a data browsing tool. If you’d like to follow along with this tutorial, you may view the associated, fully-functional Django Application at github: https://github.com/imagescape/chicagodjango-demo1. The purpose of this application is simply to demonstrate ...
Updated 08/29/11 @ 09:47AM CDT by jjasinski
November 17, 2010 9:52 a.m.
Django forms are very convenient tools for Django development, but sometimes I find myself wrangling with them to get them to do what I want them to do. I’ve compiled a few simple form examples that I find useful for various form-related tasks.
Say you have a model that looks like this:
myfield1= models.CharField(u'Field 1 Name', help_text='Field 1 help',
myfield2 = models.CharField(u'Field 2 Name', help_text='Field 2 help',
As we know, generating a basic ModelForm for this model is ...
Updated 11/17/10 @ 09:52AM CST by jjasinski
Page 1 of 3