Re: One thing to add to 0.96 to 1.0 porting guide

2009-12-22 Thread Russell
Cool. The Backwards Incompatibility Changes list is handy. Maybe you
can add a link of it to the guide. So people know where to look.

On Dec 22, 11:42 am, Karen Tracey  wrote:
> On Mon, Dec 21, 2009 at 10:19 PM, Russell  wrote:
> >http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/
>
> > The guide didn't mention the change in
> > django.datastructure.MultiValueDict which affects QueryDict directly
> > and request.POST and request.GET eventually. The change is minor, but
> > critical: MultiValueDict.iteritems() returns (key, last_value) instead
> > of (key, [values]).
>
> > I've paid painful price to find out the cause of my borken data and
> > hope this could be written in the guide explicitly and save people
> > some time.
>
> The guide covers the common (and less common, in two different sections)
> changes needed to port code from 0.96 to 1.0. It's meant as an aid to those
> who have code which needs only the more common changes, and does not attempt
> to be an exhaustive list of things that might need to be changed.  Rather it
> points to the release notes, which in turn point to the complete list of
> backwards-incompatible changes from 0.96 to 1.0.  There the change you note
> is documented:
>
> http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#Corre...
>
> The problem with the full list is it is overwhelming for people who only
> need to make the more common changes, so the guide was developed.  But then
> the problem with the guide is that it doesn't cover everything.  But if it
> covered everything, it would become the full list and again be rather
> overwhelming for people who really only need to know about the common
> things.
>
> Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.




Re: One thing to add to 0.96 to 1.0 porting guide

2009-12-21 Thread Karen Tracey
On Mon, Dec 21, 2009 at 10:19 PM, Russell  wrote:

> http://docs.djangoproject.com/en/dev/releases/1.0-porting-guide/
>
> The guide didn't mention the change in
> django.datastructure.MultiValueDict which affects QueryDict directly
> and request.POST and request.GET eventually. The change is minor, but
> critical: MultiValueDict.iteritems() returns (key, last_value) instead
> of (key, [values]).
>
> I've paid painful price to find out the cause of my borken data and
> hope this could be written in the guide explicitly and save people
> some time.
>
>
The guide covers the common (and less common, in two different sections)
changes needed to port code from 0.96 to 1.0. It's meant as an aid to those
who have code which needs only the more common changes, and does not attempt
to be an exhaustive list of things that might need to be changed.  Rather it
points to the release notes, which in turn point to the complete list of
backwards-incompatible changes from 0.96 to 1.0.  There the change you note
is documented:

http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges#CorrectedMultiValueDict.iteritemstoreturnitemsratherthanlists

The problem with the full list is it is overwhelming for people who only
need to make the more common changes, so the guide was developed.  But then
the problem with the guide is that it doesn't cover everything.  But if it
covered everything, it would become the full list and again be rather
overwhelming for people who really only need to know about the common
things.

Karen

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.