Changes between Initial Version and Version 2 of Ticket #16751


Ignore:
Timestamp:
Sep 2, 2011, 2:48:29 PM (13 years ago)
Author:
Jannis Leidel
Comment:

Without further explanation or concrete code example I can't reproduce this.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16751

    • Property Resolutionneedsinfo
    • Property Status newclosed
  • Ticket #16751 – Description

    initial v2  
    11I'm attempting to override the queryset() method to make a custom filter for the Change List Admin view.  The idea was to append ?myview=1 to the URL and then check it like so:
    22
     3{{{
    34if request.GET['myview'] == '1':
    4 ...
     5
     6}}}
    57
    68But everything I pass via the URL string is being replaced by the key name 'e' in the GET dictionary:
    79
     10{{{
    811"Key 'myview' not found in <QueryDict: {u'e': [u'1']}>"
     12}}}
    913
    1014Curiously, this also happens in the final URL string.  That is, the URL gets rewritten and redirected to ?e=1 as well.
Back to Top