We talk to one of the creators of the Django project about the formation of the Django Software Foundation, and we show you how to get started with this user-friendly web framework.
In the summer of 2005, yet another web framework was released into the open source world. Only three short years since Django’s release, it has gained enough traction to inspire the formation of the Django Software Foundation. With the formation of the DSF, Django joins an impressive list of other projects with their own foundations, including Apache, Perl, and Python.
The problems you are running into are due to your use of the SVN version of django.
In the past month many backwards incompatible changes have been made to the django svn and Django 1.0 was released just a few days ago. Due to the lead time on stories and the production schedule of this magazine, the examples and recent screen casts are for the earlier stable release of Django, 0.96.
Must have to do with version. I did some grep in the installdir for django and found that max_length should be maxlength. When I changed that it came out with 0 errors.
Stop by Rikki's Open Source Exchange for dispatches from the world of women in open source.
Rikki Kite examines the experience of women across the spectrum of open source – the people, projects, organizations, events, articles, issues, and news.
Comments
Thanks!
Rikki Kite Sep 13, 2008 1:16pm GMT
We appreciate all the feedback and updates!Django 0.96, vs. django 1.0, vs. SVN
Doug Napoleone Sep 13, 2008 6:37am GMT
The problems you are running into are due to your use of the SVN version of django.In the past month many backwards incompatible changes have been made to the django svn and Django 1.0 was released just a few days ago. Due to the lead time on stories and the production schedule of this magazine, the examples and recent screen casts are for the earlier stable release of Django, 0.96.
With that said, as you have found out it is relatively easy to upgrade the code examples to django 1.0.
An exhaustive listing of all changes with instructions can be found here:
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
max-length vs maxlength present in code.djangoproject.com
python_newbee Aug 28, 2008 9:59am GMT
Just one more. Seems to be something that people know about.http://code.djangoproject.com/ticket/7523
Sorry for the noise.
PS. I'll install from svn. DS.
Versionproblem maby?
python_newbee Aug 28, 2008 9:35am GMT
Must have to do with version. I did some grep in the installdir for django and found that max_length should be maxlength. When I changed that it came out with 0 errors.versions:
opensuse 11.0
python 2.5.2
django 0.96.2-5.5
Validateproblem
python_newbee Aug 27, 2008 11:57pm GMT
I've just tried to go through the steps in this article. There seems to be some problem when I validate the code in listing 1.I get:
mytwit.Twit: __init__() got an unexpected keyword argument 'max_length'