#8690: FormPreview should pass request to parse_params
-----------------------------------------------+----------------------------
          Reporter:  bthomas                   |         Owner:  nobody     
            Status:  new                       |     Milestone:             
         Component:  django.contrib.formtools  |       Version:  SVN        
        Resolution:                            |      Keywords:  formpreview
             Stage:  Design decision needed    |     Has_patch:  1          
        Needs_docs:  0                         |   Needs_tests:  0          
Needs_better_patch:  0                         |  
-----------------------------------------------+----------------------------
Comment (by bthomas):

 I'm aware of the incompatibility (I mentioned it in the description), and
 it is unfortunate. We could define a new function like
 {{{parse_request_params}}} that passes request as the first argument (and
 calls {{{parse_params}}} without it), but I think that's a bit ugly.

 This will only affect users that:[[BR]]
 1. Are overriding parse_params[[BR]]
 2. Are using unnamed args[[BR]]

 Personally, I only use named arguments in URLconfs, but I can't speak for
 the rest of the community.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8690#comment:4>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to