#21129: Little change of admin filter URL throws AttributeError
-------------------------------+---------------------------------------
     Reporter:  Tuttle         |                    Owner:  CodenameTim
         Type:  Bug            |                   Status:  assigned
    Component:  contrib.admin  |                  Version:  1.5
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Accepted
    Has patch:  1              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+---------------------------------------
Changes (by CodenameTim):

 * cc: schillingt@… (added)
 * owner:  nobody => CodenameTim
 * has_patch:  0 => 1
 * status:  new => assigned


Comment:

 Alright I think I have a decent solution. One thing I want to bring up is
 that when you attempt to use a URL that has a bad filter, it will redirect
 you to the same page but with the query string set to {{{?e=1}}}. I looked
 this up and it looks like it means that an error occurred. Is this the
 correct response? I suppose it lets the user know that they requested a
 bad url, but it eliminates the query string they had previously.

 I created a simple test to verify this new functionality in the method
 {{{lookup_allowed}}}

 Commit: https://github.com/tim-
 schilling/django/commit/a143239afd9faaa3317e1447e761faa02a778056

-- 
Ticket URL: <https://code.djangoproject.com/ticket/21129#comment:2>
Django <https://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 unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/064.b4c7da918afcf0c11299578bc764066a%40djangoproject.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to