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?
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.
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.
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.
cmemcache. Python extension for libmemcache which provides more than twice the performance of the pure-Python memcached client. Supported by Django development version.
mod_python: Expat Causing Apache Crash. We ran in to this problem today.
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.”
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.
HP acquires Tabblo. The first high profile Django-powered acquisition? Very well deserved; Tabblo is an excellent application.
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.
Django snippets. James Bennett’s new site for Django snippets. The source code to the whole site is available.
Django IRC FAQ. Frequently asked questions from the Django IRC channel.
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.
Django templates in Venus. It’s nice to see the Django template system being used outside the context of the overall framework.
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.
About LiveBus.org. I love sites with a colophon. LiveBus.org is powered by Django.
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.
The Django Book: Deploying Django. Solid advice based on years of experience at the Journal-World and the Washington Post.
The Django newforms-admin branch. This should make customising the Django admin application a whole lot easier.
Using TextMate with Django. Including a nice looking theme inspired by the Django website.
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.
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..."
DjangoID. Django-based OpenID server for hosting your own (or someone else’s) identity.
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.
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.
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.
The Daily Python-URL. Python’s number one news source, now powered by Django.
Chapter 15: Other contributed sub-frameworks (djangobook.com). Includes detailed documentation of the powerful (but under-exposed) sites framework, flatpages and CSRF protection.