Commit c6528046 authored by David Seaward's avatar David Seaward

set title on admin pages

parent f0155ed6
......@@ -3,11 +3,11 @@ from django.contrib.auth.admin import UserAdmin as BaseUserAdmin
from .models import User, LdapGroup, LdapPerson
#
# Declare admin models
#
class UserAdmin(BaseUserAdmin):
pass
......@@ -28,3 +28,10 @@ class LdapPersonAdmin(admin.ModelAdmin):
admin.site.register(User, UserAdmin)
admin.site.register(LdapGroup, LdapGroupAdmin)
admin.site.register(LdapPerson, LdapPersonAdmin)
#
# Set admin titles
#
admin.site.site_title = "Site administration"
admin.site.site_header = "Site administration"
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment