Weblog

Week in review: May 7

Now that the magic-removal branch has merged and we're focusing all Django development on a single place, it's time to get back in the groove of "week in review" entries.

Aside from the huge news of the magic-removal merge, here are the highlights of the Django improvements that happened after the merge:

  • Changeset 2815: Fixed off-by-one line number in heading of debug error pages.
  • Changeset 2817: Accessing many-to-many relationships without a PK value now throws an exception. Thanks, Luke Plant.
  • Changeset 2840: Fixed broken nav links in password_change_done admin page. Thanks for reporting, mdt@emdete.de.
  • Changeset 2841: Made django/contrib/auth/create_superuser.py a command-line function, and added docs.
  • Changeset 2842: Added rlcompleter autocompletion to 'manage.py shell' if IPython is not used. This gives you the benefit of tab completion (Unix only) even if you don't have IPython installed.
  • Changeset 2843: The LocaleMiddleware now sets the Content-Language header. Thanks, ubernostrum.
  • Changeset 2845: Fixed a Windows error in django.core.management. Thanks, ross.lazarus@gmail.com.
  • Changeset 2847: Added svn:ignore for pyc files for all Django packages. Thanks for the idea, Christopher Lenz.
  • Changeset 2851: Fixed a bug in the date conversion in the SQLite backend. Thanks, dart@google.com.
  • Changeset 2852: Improved runserver to display 'CONTROL-C' vs. 'CTRL-BREAK' based on the current platform. It's the little details like this that really count.
  • Changeset 2864: The debug view no longer assumes _get_lines_from_file returns None. Thanks, django@binaryfeed.org.

In other Django news:

  • Wow. Jeff Croft's blog entry about converting his site to Django attracted a ton of attention. It hovered near the top of del.icio.us popular for quite some time and attracted a lot of blog chatter. I've seen a lot of new names on the django-users mailing list, too. To all new Django users: Welcome! And, I gotta say, Jeff's site looks really slick.
  • None other than Python creator Guido van Rossum writes: "Django is gaining steam big way. Last week, a special baypiggies (Bay Area Python Interest Group) meeting drew huge crowds to listen to Django developer Jacob Kaplan-Moss. ... Several Googlers are asking about Django too!"
  • Chris McAvoy wrote Django should be on MySpace. Well, I'm not quite sure how this happened, but the framework signed itself up for an account and created a page! Word on the street is, it's anxious to make new friends.
  • Eugene Lazutkin wrote about his migration to magic-removal. He includes some good pointers worth reading and says: "In general the whole process was painless and left me completely satisfied with the outcome and code changes."
  • Trevor F. Smith: "Michael and I are coding a couple of small apps using the django web framework, which is built by people with the sensitivity to know what can and cannot be solved well in a framework and with the taste to leave out everything else."
  • "Django is cool. Calling it "Rails for Python" does it a disservice."
  • Chase Davis writes about an in-house Boston Globe project using Django: "Sure, I could write a PHP or ASP frontend, but coding all the validation conditions would take at least a couple tedious hours. With Django, I’ll have this thing up and running in 10 minutes, validation and all. Less time developing boring applications = more time working on fun projects. For database-driven applications, data-entry forms and general information accessibility, Django takes the prize for speed and simplicity."
  • As seen on Jacob's weblog: Eric Walstad posted a J2EE-to-Django success story to the django-users mailing list. He went from 40,000 lines of Java/JSP (without unit tests or documentation) to 25,000 lines of Python/Django templates (complete with docstrings and unit tests). Says Eric: "All things considered, this app has been a huge success for me, my team and our clients. Three cheers for Python and Django!"

Posted by Adrian Holovaty on May 7, 2006

Comments

CoolGoose May 8, 2006 at 6:26 a.m.

Great. Keep up the good work.

Alex Bucur

Ann on a Moose May 8, 2006 at 8:59 a.m.

I'm thrilled to see mroe regular entries here. I hated it when a month went by with no blog action - made me think that the django project was dead.

Also enjoyed the Google presentation.

Keep it up guys!

Lukas May 8, 2006 at 7:19 p.m.

You know that you're working with an astounding framework when you have an Idea for your site and implement it with 2 lines of Python code (+imports), but need 100 lines of html/css/template code for it to be looking good. That's just so great!

(Oh, and you also know that you're a python novice when you need 2 hours to figure out that you *really* just need these two lines. Ah, and another two for the new template filter that filters the first few full sentences out of a string)

This is so much fun!

__SERF__ May 9, 2006 at 1:51 p.m.

You're not hip until you've got EmoDog21Ohio in yer friends list. hehehe

Paul May 12, 2006 at 9:09 p.m.

So, how about more information on deployment.

Rails hosting has some notorious hosting issues. Maybe Django has fewer. This is where the metal meets the road and I don't care how fast I can create something and how few lines it takes, how EASY AND STABLE is it to deploy?

Daniel May 13, 2006 at 10:11 a.m.

Yeah, that's where Django is a whole lot easier, and doesn't turn into a sour grape...
It's definately something that can be advocated.

Adam Blinkinsop May 14, 2006 at 10:51 p.m.

Paul - it's a cinch. Especially if you control the deployment environment. They really have done a lot of work at making it environment independent.

Right now, I'm developing at home on the dev server with Postgres for the database. When I find time away from my apartment to mess with it, I usually use SQLite. My deployment is on Apache, FastCGI, with MySQL powering the DB.

That said, I've done Rails deployment as well. In my (admittedly limited) experience, Rails takes a lot more work in general to set up.

One either is deployed, they seem to both be about equal in stability.

Arnav Dutta June 15, 2006 at 1:23 a.m.

Greeting,

We are a leading data entry and data pocessing with efficient management
im located in India. We are sincerely looking foward fo a long term
relationship very soon.
You can learn more about us here: www.breakthroughinfotech.com

--
Mr. Arnav Kumar Dutta
Business Development
Break Through Infotech
A Geeta Gorup Enterpise
+919820754058
www.breakthroughinfotech.com
YIM:arnav.dutta
MSN:arnav.dutta@hotmail.com

Comments are closed

To prevent spam, comments are no longer allowed after sixty days.