Hello, It would be of great help to me if the ability to pass variables through HTTP GET were possible within the admin changelist view. For example, I use Django admin tools to manage security advisories that come from various sources. I need the ability to create a "meeting view," which essentially is a filtered view with *multiple* filters (e.g. all advisories marked as 'new' OR 'pending review' OR ... whatever condition). Currently, if I attempt to use a URL like the following
http://example.com/admin/MY_SITENAME/MY_MODELNAME/?meeting_view=1 meeting_view gets rewritten as e=1 (indicating it's an invalid flag of some kind). My (horrible) workaround for this was to edit the Django options.py file, adding the following block to changelist_view definition: if 'meeting_view' in request.GET: new_GET = {} for key in request.GET: if key != 'meeting_view': new_GET[key] = request.GET[key] request.GET = new_GET self.meeting_view=1 else: self.meeting_view=0 That catches the variable in request.GET, saves it to an attribute (self.meeting_view), then rewrites request.GET without meeting_view in it. Amazingly, this has not blown up in my face yet. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.