#29376: admin adjustability improvement: Take into account
`show_save_and_add_another` context var
-----------------------------------------+------------------------
               Reporter:  mihasK         |          Owner:  nobody
                   Type:  Uncategorized  |         Status:  new
              Component:  contrib.admin  |        Version:  master
               Severity:  Normal         |       Keywords:
           Triage Stage:  Unreviewed     |      Has patch:  0
    Needs documentation:  0              |    Needs tests:  0
Patch needs improvement:  0              |  Easy pickings:  0
                  UI/UX:  0              |
-----------------------------------------+------------------------
 To provide better adjustability, to introduce new context var -
 `show_save_and_add_another`.
 E.g. if I want to hide button "Save and add another", I can just modify
 `extra_context` - write `False` to the variable.

 For other buttons - "Save" and "Save and continue editing", this already
 works exactly in this manner.

-- 
Ticket URL: <https://code.djangoproject.com/ticket/29376>
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/049.d681d0cb73f7726f7bae6641c07ad6b1%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to