#11678: ValueError when passing an extra parameter in URL
-------------------------------------------+--------------------------------
          Reporter:  kberkhout             |         Owner:  nobody             
             
            Status:  reopened              |     Milestone:                     
             
         Component:  django.contrib.admin  |       Version:  1.1                
             
        Resolution:                        |      Keywords:  ValueError, 
django.contrib.admin
             Stage:  Unreviewed            |     Has_patch:  0                  
             
        Needs_docs:  0                     |   Needs_tests:  0                  
             
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Changes (by mr.ksc...@gmail.com):

  * status:  closed => reopened
  * resolution:  duplicate =>

Comment:

 this may not be a duplicate for #3785.

 as some of the auto-complete widgets for ForeginKeyField are using url
 like "/app/model/search..."
 in which the url is responded by ModelAdmin's __call__ as follow.

 {{{

 # forward request by url
 def __call__(self, request, url):
     if url is None:
         pass
     elif url == 'search':
         return auto_complete(request)
     return super(MyModelAdmin, self).__call__(request, url)
 }}}

 In Django 1.0.2, this works fine with the __call__ request forward. But in
 1.1, above exception raised.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11678#comment:2>
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 django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to