-
Notifications
You must be signed in to change notification settings - Fork 80
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
Template different to main site #47
Comments
I'll assume you extend your templates from from django.shortcuts import render
@admin.site.register_view('meow')
def test_view(request):
return render(
request,
'core/admin/blah.html',
context=admin.site.each_context(request)
) See: https://docs.djangoproject.com/en/1.9/ref/contrib/admin/#django.contrib.admin.AdminSite.each_context That might be something worth noting in the documentation of this library. |
Cheers will take a look at that on Tuesday! |
@stretch4x4 did @athre0z's comment solve the issue? |
Sorry to not respond earlier, yes for memory I think it did, if not something very similar. Cheers From: James Socolmailto:notifications@github.com @stretch4x4 did @athre0z's comment solve the issue? You are receiving this because you were mentioned. |
OK, thanks! If anyone is still running into this, please reopen! |
We have noticed a few differences between the adminplus template and the standard django admin.
On all our custom views we loose our logout links, have tried to have a look in the templates but can't figure out what is causing them to disappear..
We also had to pass through our customised titles and headings, it would be excellent if the template picked up on the original values so each view didn't have to respecify them
The text was updated successfully, but these errors were encountered: