Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9217073
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T02:33:36+00:00 2026-06-18T02:33:36+00:00

I want to have a save button on top of django admin change list

  • 0

I want to have a save button on top of django admin change list page. It seems that django don’t have this functionality built-in. The save_on_top option only controls behavior on change form page. Any suggestion is welcome.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-18T02:33:37+00:00Added an answer on June 18, 2026 at 2:33 am

    First, you need a way to extend the template found at django/contrib/admin/templates/admin/change_list.html. If you don’t already know how to do that, check out this answer and this answer.

    Next, you need to create your own change_list.html template and put code similar to the following in it. For the sake of simplicity, I’ve included inline CSS. However, this is bad practice, so you should not do it. Assuming you move the CSS to an external file, you won’t need to load admin_static. Lastly, the extends line that you use might not be exactly the same as what I’ve shown here.

    {% extends "contrib/admin/templates/admin/change_list.html" %}
    {% load i18n admin_static %}
    
    {% block result_list %}
        {% if cl.formset and cl.result_count %}
            <div style="border-bottom: 1px solid #ccc; background: white url({% static "admin/img/nav-bg.gif" %}) 0 180% repeat-x; overflow: hidden;">
                <p>
                    <input type="submit" name="_save" class="default" value="{% trans 'Save' %}"/>
                </p>
            </div>
        {% endif %}
    
        {{ block.super }}
    {% endblock %}
    

    The {% if %} tag and the <input> tag inside of it is from django/contrib/admin/templates/admin/pagination.html.

    The CSS is based on the CSS for #changelist .paginator and is found in django/contrib/admin/static/admin/css/changelists.css.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some arbitrary pixel data that I want to save as a PNG.
I have an array which contains 12 numbers and I want to save this
I have a value int called score and i want to save this to
I got this an asp.net 3.5 page that and I have few tabs (telerik
My dilemma is this: I have a PHP page with a form that includes
I have want to save a form in Symfony2, based on a form type,
I want to save files which will have name with danish characters, for example
I have a DataTable which I want to save to a SQLite Database Table.
I have a Seekbar and I want to save the state to database when
I have a report generated in Gridview and I want to save the report

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.