Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change "Custom Views" title text in admin section. #51

Open
chrisdew opened this issue Aug 5, 2016 · 5 comments
Open

How to change "Custom Views" title text in admin section. #51

chrisdew opened this issue Aug 5, 2016 · 5 comments

Comments

@chrisdew
Copy link

chrisdew commented Aug 5, 2016

Thanks for writing AdminPlus, it is working very well.

One small niggle is that it provides a section on the /admin/ titled "Custom Views" - How can I rename this title to "Reports"?

@longtranista
Copy link

You need to copy default installed templates file to [PROJECT]/templates/adminplus and change the "CUSTOM VIEWS" in index.html
It should look like that:
Project/
..........templates/
..................adminplus/
..........................base.html
..........................index.html ( Change default text in this file)

@sebitoelcheater
Copy link

any solutions? @longtranista your solution didn't worked for me

@crudie
Copy link

crudie commented May 8, 2018

Probably that's too late, but try to put your app in the INSTALLED_APPS list before the adminplus app, that will force Django to load your template first.

@ghost
Copy link

ghost commented Feb 8, 2022

I would also like to see this feature. I want to be able to set it for each view. So I can have several "CUSTOM VIEWS" and be able to group up my custom admin views in to categories.

Like this:

@admin.site.register_view("decorated", name="Decorated", urlname="decorated_view", header="CUSTOM VIEWS 2")
class InlineReisterView(View):
    def get(self, request):
        return HttpResponse("lorem ipsum...")

@Talkless
Copy link

Ping @jsocol , #76 would be really convenient feature.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants