Showing 37 to 42 of 43 blog posts by Dan Poirier.
-
Managing Events with Explicit Time Zones
Managing Events with Explicit Time Zones Recently we wanted a way to let users create real-life events which could occur in any time zone that the user desired. By default, Dj... Read more
January 9, 2014 -
Making your Django app more pluggable
This blog post is about ways of doing things in your Django app, and pitfalls to avoid, so your app is easier to plug in to other sites. Introduction One of the most enticing pr... Read more
June 12, 2013 -
A helper script for runserver
This is a little shell script I save as rs, put on my path, and use as a shortcut to start the Django development server. It has several features that make me more productive... Read more
April 11, 2013 -
Class-based views in Django 1.3
Django 1.3 added class-based views, but neglected to provide documentation to explain what they were or how to use them. So here's a basic introduction. Read more
December 29, 2011 -
Django Without the Web
One of the things I like best about Django is how easy its ORM makes it to work with databases. Too bad Django is only for web applications. Sure, you could deploy a Django app ... Read more
October 24, 2011 -
Bulk inserts in Django
I recently found a way to speed up a large data import far more than I expected. The task was to read data from a text file and create data records in Django, and the naive impl... Read more
September 20, 2011