Open chrisdew opened 8 years ago
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)
any solutions? @longtranista your solution didn't worked for me
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.
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...")
Ping @jsocol , #76 would be really convenient feature.
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"?