#12090: Show admin actions on the edit pages too
-------------------------------------------+--------------------------------
          Reporter:  apollo13              |         Owner:  jezdez
            Status:  assigned              |     Milestone:        
         Component:  django.contrib.admin  |       Version:  SVN   
        Resolution:                        |      Keywords:        
             Stage:  Accepted              |     Has_patch:  0     
        Needs_docs:  0                     |   Needs_tests:  0     
Needs_better_patch:  0                     |  
-------------------------------------------+--------------------------------
Comment (by hamlet):

 Regarding the design issue let me propose to allow for a list of actions
 that are offered as individual buttons on the change page next to 'Save',
 'Save and add another': 'Save and /action/', e.g. via:

 {{{
 class ArticleAdmin(admin.ModelAdmin):
     list_display = ['title', 'status']
     actions = [publish, unpublish, comments_close]
     save_plus_action = [unpublish, comments_close]
     save_plus_action_done = [publish]
 }}}

 As it's unclear whether the list or change page should display after that,
 we would need the secondary option, say {{{save_plus_action_done}}} to
 leave the change page after saving and firing this action.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/12090#comment:8>
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-upda...@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