#6903: Go back to old change_list view after hitting save
---------------------------------------------+------------------------------
          Reporter:  jarrow                  |         Owner:  ramiro  
            Status:  new                     |     Milestone:  1.1 beta
         Component:  django.contrib.admin    |       Version:  SVN     
        Resolution:                          |      Keywords:          
             Stage:  Design decision needed  |     Has_patch:  1       
        Needs_docs:  0                       |   Needs_tests:  0       
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Changes (by mremolt):

 * cc: mremolt (added)

Comment:

 Replying to [comment:21 jarrow]:
 > The idea was that you get an unfiltered list when you go to the
 changelist URL directly (not coming from an edit form of an entry).
 mawimawi's example code looks like he wants the filters to stay forever.
 To cite Malcolm "Yes, from the admin home page it should be a clean view."
 >
 > I proposed to use the session to store the filters so that you don't
 pass your filters and search queries around whenever you pass the URL of
 an edit form to someone else. So I would use a hash of the data and use it
 as a key in the session. This key would then be passed around instead of
 the info. But this could be changed later, I don't think it would be
 backwards incompatible.

 I don't see, why it is a bad thing to be able to post the filter settings
 around with the url. I consider it a feature, to be able to copy a
 filtered admin changelist view URL into an email and post it to a
 colleague to show him exacly what I want him to notice. Using the session
 would also go against REST (no ambiguous URLs).

 Using URLs also automatically solves Malcolms request you mentioned. The
 admin start page just uses URLs without filter parameters as it always
 has.

 Just my 5 cents.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/6903#comment:22>
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