Simon Willison’s Weblog

Subscribe
Atom feed for django

558 items tagged “django”

The Django web framework.

2007

modwsgi. Apache module (written in C) for hosting Python WSGI applications, no mod_python required. Includes Django integration instructions. Has anyone tried this out?

# 14th April 2007, 9:48 am / django, apache, wsgi, python

Naming URL patterns (via) You can now apply a name to a URL pattern in Django development version, which makes the {% url %} template tag far more useful.

# 10th April 2007, 12:19 am / django, templates

Avoid IE Brokenness When using Vary and Attachments (via) Django middleware that works around a bug in IE where external applications fail to load content that was served with a Vary header.

# 9th April 2007, 9:41 am / django, ie, middleware, http, python

DjangoKit. Early preview release of a tool that lets you package a Django application up as a fully contained OS X application. When Leopard ships with PyObjC this kind of thing will be even easier.

# 29th March 2007, 12:50 am / pyobjc, djangokit, django, python, osx, leopard

cmemcache. Python extension for libmemcache which provides more than twice the performance of the pure-Python memcached client. Supported by Django development version.

# 27th March 2007, 1:51 pm / libmemcache, cmemcache, django, memcached, python

mod_python: Expat Causing Apache Crash. We ran in to this problem today.

# 27th March 2007, 11:49 am / apache, expat, django, modpython

Free Software Foundation to switch to Django. “FSF is switching from Zope to Django (both Python powered!) for web application development... Lots of new stuff coming soon, including contributions back to the Django community.”

# 25th March 2007, 7:56 pm / fsf, django, zope, python

Django version 0.96 release notes. The two big improvements are the newforms library and the ability to use callables directly in your URLconfs, enabling a bunch of useful new tricks.

# 23rd March 2007, 11:47 pm / urlconfs, newforms, django

HP acquires Tabblo. The first high profile Django-powered acquisition? Very well deserved; Tabblo is an excellent application.

# 23rd March 2007, 3:49 pm / tabblo, django, hp

More Django (likely more than is healthy). Jacob’s advanced Django tutorial from PyCon. I really like the template he’s using to present the slides and notes.

# 1st March 2007, 11:08 pm / jacob-kaplan-moss, django, pycon, tutorial, keynote

Django snippets. James Bennett’s new site for Django snippets. The source code to the whole site is available.

# 26th February 2007, 10:08 am / django, django-snippets, james-bennett, python

Django IRC FAQ. Frequently asked questions from the Django IRC channel.

# 20th February 2007, 10:07 am / irc, django, faq

Quick Django Benching. Django under Apache/mod_python outperforms nginx/FastCGI and LightTPD/FastCGI once you ramp up the concurrency levels. My setup for this site (Apache/mod_python behind an nginx proxy, with nginx handling static files) should give the best of both worlds.

# 17th February 2007, 4:56 pm / apache, modpython, django, nginx, lighttpd, fastcgi, deployment

Django templates in Venus. It’s nice to see the Django template system being used outside the context of the overall framework.

# 14th February 2007, 11:22 pm / django, venus, templates

Cats or Dogs (via) Finds statistically interesting facts based on people answering a sequence of “X or Y” questions. Written in Django by James Tauber in less than four hours.

# 11th February 2007, 1:49 am / django, james-tauber, catsordogs, statistics

About LiveBus.org. I love sites with a colophon. LiveBus.org is powered by Django.

# 10th February 2007, 10:57 pm / django, livebus, colophon

Why you should be using disambiguated URLs

Good URLs are important. The best URLs are readable, reliable and hackable.

[... 553 words]

Jeff Croft: Geocoding My Life. Really smart weblog integration of the Flickr API, using the Geocoder.us reverse geocoder along with hand entered locations to create a browseable archive of photos by location.

# 1st February 2007, 1:27 pm / flickr, django, geocoding, jeff-croft, mashup

The Django Book: Deploying Django. Solid advice based on years of experience at the Journal-World and the Washington Post.

# 26th January 2007, 12:38 pm / django, deployment, django-book

The Django newforms-admin branch. This should make customising the Django admin application a whole lot easier.

# 15th January 2007, 2:43 am / django, admin, newforms, branch

Using TextMate with Django. Including a nice looking theme inspired by the Django website.

# 15th January 2007, 2:16 am / django, textmate

Hacking Django, how Bazaar. This is a neat trick: use Subversion to track an upstream project, then create Bazaar branches to manage your own development against the trunk.

# 12th January 2007, 10:34 am / versioncontrol, subversion, bazaar, django

In fact Django reminds me a bit of the character in Airplane who always answers the "what do you make of that?" question literally... "Why, I can make a hat or a brooch or a pterodactyl..."

Scott Gilbertson

# 10th January 2007, 11:17 am / django, airplane

DjangoID. Django-based OpenID server for hosting your own (or someone else’s) identity.

# 7th January 2007, 9:54 pm / openid, django

More home improvements

I’ve had an offline Christmas, not entirely through choice (broadband at my Dad’s new place in rural France isn’t working yet) but welcome. I did have my laptop with me, and I’m using Bazaar for version control so being offline isn’t a barrier to checking in code. I’ve just rolled out a bunch of new features that I put together over the past few days.

[... 514 words]

2006

Serving Multiple Hosts from a Single Django Instance. Includes a patch to pull the urlconf from the request object, where it has been placed by some custom middleware.

# 25th December 2006, 11:21 pm / django, urlconf

Rails vs Django Paper and Slides. Even if you’ve already read the paper you should check out the slides. Really good flow, clear and clever use of diagrams.

# 24th December 2006, 12:43 pm / django, rails, presenting, slides

WebFaction blog: BIG holiday present! (via) WebFaction offer Django/Rails/TurboGears hosting for $7.50/month, allowing one long-running process and 40MB of RAM for their basic plan.

# 22nd December 2006, 11:44 pm / webfaction, hosting, django

The Daily Python-URL. Python’s number one news source, now powered by Django.

# 22nd December 2006, 11:39 pm / python, django, effbot

Chapter 15: Other contributed sub-frameworks (djangobook.com). Includes detailed documentation of the powerful (but under-exposed) sites framework, flatpages and CSRF protection.

# 19th December 2006, 10:14 am / django-book, django, csrf