In Django Admin, in the changelist view there is a Add <model_name> button at the top right hand corner.
Does anyone have any idea how to change the default text in that button?
UPDATE
I want to change the word Add to something else
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
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.
The changelist view renders the change_list.html file in django/contrib/admin/templates/admin directory.
Specifically, the snippet that you want to modify is
So the bad news is that your “Add” user interface string as you can see is hardcoded.
The good news is, you can still override it by creating your own change_list.html template in your own project templates/admin/ directory. The specifics are explained here in django docs:-
https://docs.djangoproject.com/en/dev/ref/contrib/admin/#overriding-admin-templates
and specifically in your case, it is simply to override the object-tools block on your own change_list.html file.