Simon Willison’s Weblog

Subscribe
Atom feed for django

571 posts tagged “django”

The Django web framework.

2007

BabelDjango. Tools for integrating Christopher Lenz’s Babel i18n framework with Django.

# 20th August 2007, 2:59 pm / christopher-lenz, django, babel, python, i18n

Django on the iPhone. Jacob got it working. The next image in his photostream shows the Django admin application querying his phone’s local database of calls.

# 19th August 2007, 7:58 am / jacob-kaplan-moss, django, python, iphone, apple, django-admin

Changeset 5925. You can now register custom commands for your application with Django’s manage.py script. More sensible than littering your application’s root directory with shell scripts.

# 18th August 2007, 11:06 am / django, python, managepy

AuditTrail. Add change tracking and history to a Django model with a single line of code. Doesn’t handle relationships though, which is definitely the toughest part of this problem.

# 15th August 2007, 1 pm / django, orm, history, audittrail, python

Finding Lookup Items that Are Not Used. How to do left outer joins (and other custom SQL) using the Django ORM.

# 13th August 2007, 5:08 pm / django, orm, sql, michael-trier, python

Ubuntu -- python-django. Sweet, Django 0.96 is packaged for Ubuntu Gutsy.

# 11th August 2007, 8:47 am / django, python, ubuntu, gutsy

Inline images are stored as data URI:s in the intermediate format (and usually also in the source documents), but since not all browsers support this format, the renderer replaces the data URI:s with HTTP pointers to an image cache directory.

Fredrik Lundh

# 7th August 2007, 10:52 am / django, datauri, http, fredrik-lundh

A nice example of when to use reduce in python. As a shortcut for assembling a large OR query using the Django ORM.

# 2nd August 2007, 11:51 pm / orm, django, reduce, python

Django, iCal and vObject. Easy iCal generation for Django using vObject.

# 1st August 2007, 11:09 am / vobject, derek-willis, django, python, icalendar

Java’s Fear of Commitment (via) How Java culture emphasises interfaces and layers of abstraction over solving problems directly.

# 1st August 2007, 10:32 am / java, django

Django weekly roundup: July 30. Every active open source project needs something like this.

# 30th July 2007, 5:03 pm / django, open-source, clint-ecker

mod_wsgi 1.0 Release Candiate Available. mod_wsgi is shaping up to be an excellent alternative to mod_python.

# 26th July 2007, 8:21 pm / modwsgi, modpython, python, django, wsgi

Instant Django. Portable Django environment for Windows, no installation required. Can also be run from a USB thumb drive.

# 24th July 2007, 6:49 pm / instantdjango, django, usb, windows, python

Django Master Class. Notes and slides from the OSCON tutorial I gave yesterday with Jacob Kaplan-Moss and Jeremy Dunck.

# 24th July 2007, 3:20 pm / oscon, jeremy-dunck, django, jacob-kaplan-moss, oscon07, speaking, tutorial, python

Undelete in Django. Inspired by the conversation about undo the other day, Nathan Ostgard created a simple solution based around custom managers and a trashed_at model field.

# 20th July 2007, 6:54 pm / orm, custommanagers, django, nathan-ostgard, undelete, undo, python

Seasoning Templates. “Designing a template language is a lot like seasoning a dish; there’s a whole range of tastes out there.”

# 19th July 2007, 6:04 pm / django, templates, jacob-kaplan-moss

Logic in Templates. I don’t think it would hurt Django to have a bit more support for conditional logic in templates, but I wouldn’t go as far as supporting the ability to call Python functions directly.

# 19th July 2007, 8:35 am / templates, logic, christopher-lenz, python, django

A Recipe for OpenID-Enabling Your Site. Detailed guide to setting your site up as an OpenID consumer from Plaxo, who just launched their OpenID implementation. It basically describes the design I’m using for the next release of django-openid.

# 18th July 2007, 7:50 am / plaxo, openid, tutorial, django, djangoopenid

Never use a warning when you mean undo. The abundance of “undo” is one of my favourite things about Gmail. I wonder if there’s anything Django could do to make implementing undo functionality easier...

# 17th July 2007, 11 am / django, gmail, undo, a-list-apart, usability, warning

A great two years. The first public release of Django was tagged in Subversion two years ago today.

# 15th July 2007, 9:53 pm / django, anniversary

Partial OpenID provider implementation from idproxy.net. It’ll take a while to package up provider support for django-openid, but in the meantime here’s some partial, incomplete, poorly documented example code ripped from idproxy.net. Hopefully this will give people trying to figure out the JanRain Python library a bit of a leg up.

# 12th July 2007, 6:48 pm / idproxy, openid, django, python, partial, europython, europython07

PyCon UK 2007. The weekend of the 8th and 9th of September, currently accepting talk submissions. I’ll be running a Django tutorial session.

# 10th July 2007, 9:42 am / pycon, pyconuk, conferences, python, django

The Django Web Application Framework. I’m slowly pushing my presentations from the past couple of years up to Slideshare. This is a Django talk from April 2006, so it’s a little out of date.

# 5th July 2007, 1:07 am / django, accu, slideshare, speaking, slides, python

UnicodeBranch: Porting Applications. A checklist for porting Django applications to handle the new unicode changes. If your application only handles ASCII text at the moment you shouldn’t have to change a thing.

# 4th July 2007, 2:41 pm / unicode, porting, django, ascii

Unicode data in Django. Documentation for Django’s new unicode support.

# 4th July 2007, 2:24 pm / unicode, django

Django changeset 5609. “Merged Unicode branch into trunk. This should be fully backwards compatible for all practical purposes.”

# 4th July 2007, 2:22 pm / django, malcolm-tredinnick, unicode

I can't say enough good things about Django. Professionally, it was one of the best technical decisions that I got to make early on at Tabblo.

Antonio Rodriguez

# 3rd July 2007, 1:38 am / tabblo, django, antonio-rodriguez

Gmail and Django. I’d never considered using Gmail to send e-mail from applications, but it could be a useful way of avoiding having outbound e-mail falsely flagged as spam.

# 2nd July 2007, 9:46 pm / gmail, django, email, nathan-ostgard

Django status update: June 26. Outstanding detailed overview of recent happenings in the Django community, courtesy of Clint Ecker.

# 27th June 2007, 2:30 pm / clint-ecker, django