Weblog

January archive

Some recent writeups

January 27, 2006

We Django developers have been busy working on the next Django version. In the meantime, check out this great collection of recent Django reviews:

From Chase Davis:

"I have no intention of going into Web development, but messing with Django gives me an excuse to learn Python and think more about database-driven applications that could be useful to reporters. I have been toying with Django for about a day, and I am amazed at how easy it is to use, especially for a Python-illiterate moron like me. The framework comes with an easily configurable admin system immediately upon installation, and it seems to interface with databases more easily than anything I've worked with in my limited Web experience."

From Christian Meder:

"Having read quite a couple of articles and blogs about these two frameworks I finally started playing around with Django. Cool stuff ! And it's actually really exactly as easy as described in the articles ;-)

"Having done five years of Java/JSP/Struts/OJB (a rather lightweight stack in Java terms) web applications the difference is mindboggling."

From Tom Zellman:

"[O]nce I got the taste of Django, there was no turning back.

"Django was the winner. Django provides everything we need. It is easy. The amount of code needed to write is small. Testing can be done real-time (with the default server). It is TONS of fun to work with! Most importantly, the documentation is very complete. ... Django just feels good, and has some great capabilities. The strong-points: regex URL matching!!!, extensive database API, built-in admin support!, impressive OO-templating."

O'Reilly's Jeremy Jones switched from TurboGears to Django:

"All of these issues [with Turbogears] and my glance at Django really got me thinking about how TurboGears was put together. ... I began to wonder if I might be better off with a unified solution rather than a solution made of components from separate projects."

From "a hacker in Iowa":

"Most of my time lately has been spent working on converting Master Packing's current website over to Django so we can quickly develop new applications and easily edit content. I've been very impressed with Django's infrastructure and API, and I'm even more impressed with how the next version is shaping up to look like."

From Brian Ray:

"Django is fast. Fast is setting up. Fast for fitting in with legacy item. And these pages load really fast. Not only faster than most JAVA and RoR sites, but faster than many static sites."

From David Reynolds:

"I've been enjoying using Django. Strangely the templating system has been the thing that has impressed me the most. I'm not sure if this is because I've never used a templating language other than Smarty of if it's just because the Django templating language is so well written, most likely the latter."

From Jaanus:

"The Django project rocks ... Somehow the whole thing, even though it's not at 1.0 yet, feels quite polished and refined and written by people who clearly know what they are doing."

Python creator Guido van Rossum has been playing with Django in his new position at Google, and Django developer Jacob has written "Why you should use Django":

"Inspired by Guido van Rossum's plea to be taught web frameworks here are (in no particular order) ten reasons why he -- and you -- should use Django."

On a related note, from friend-of-Django David Heinemeier Hansson:

"Reuse is vastly overrated ... [T]he new economics of dynamic languages like Ruby simply makes reuse a lot less attractive. Since the cost of producing new, original code is so much lower, the demands on reuse are that much greater. And usually that means it'll take more time to reuse something than it'll take to create it from scratch. Leaving you with something that's both more expensive and uglier."

Django 0.91 released

January 11, 2006

We're pleased to announce Django 0.91, the result of a month and a half of feature additions, bug fixes and other improvements.

I know many of the Django faithful use the Django development version (SVN), which is updated almost every day (and recommended by the Django developers as the preferred flavor), but this release is for the folks who like definitive versions. This new release encompasses all of the new niceties development-version users have been enjoying for the past month and a half.

There are literally hundreds of improvements -- but some of the most notable are:

  • Merged the "new-admin" branch, which heavily refactored the way the admin works, to make it more extensible.
  • Changed passwords to be stored with a salt, and with a tighter (and swappable) encryption algorithm. (Read more.)
  • URLconfs no longer require named groups; you can use simple parentheses. (Read more.)
  • Changed the default project layout to add a manage.py utility, which avoids frustration with DJANGO_SETTINGS_MODULE.
  • Added a gorgeous template-debugging error page in the case of template syntax errors. (Read more.)
  • Added an {% include %} template tag. (Read more.)
  • Added a framework for template context processors. (Read more.)
  • Improved the e-mail library to prevent header injections. (Read more.)
  • Added OR lookups to the database API. (Read more.)
  • Made the template system scoped to the parser instead of the template module. Also changed the way tags/filters are registered and added support for multiple arguments to the {% load %} tag.

In addition to the many, many changes, we've reworked the tutorial to simplify things a bit -- namely using the new manage.py utility instead of futzing with paths to settings. Docs for version 0.90 have been frozen. They're available here, for eternity.

This release has five backwards incompatible changes, most of which are small. They are:

This is the last Django release before the magic-removal branch is merged. The next release will be a big one.

Many thanks to all the great people who've contributed to this project. You can check them out in the AUTHORS file.

Snakes and Rubies video/audio available

January 5, 2006

Remember that Snakes and Rubies thing, for which we Django developers and Ruby on Rails creator David Heinemeier Hansson met in Chicago to talk about rapid-development Web frameworks?

Finally, video and audio of the event are available.

Django core dev Jacob has been working long and hard to edit the 13 hours of raw video into manageable pieces. So check them out! And remember: please use the torrents if you can; our servers will thank you kindly.