Skip to content

Commit

Permalink
add admin site header and index title
Browse files Browse the repository at this point in the history
  • Loading branch information
d2avids committed Sep 22, 2024
1 parent ff5cdf2 commit a56b894
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions backend/users/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ def educator_id(self, obj):
return obj.user.id


admin.site.site_header = 'Леся и Моа'
admin.site.index_title = 'Администрирование леся-моа.рф'

admin.site.unregister(Group)
if not settings.DEBUG:
admin.site.unregister(TokenProxy)

0 comments on commit a56b894

Please sign in to comment.