JourneyJoker/urlaubsauktion/admin.py
Klaus-Uwe Mitterer f6b7fab525 Creating custom admin model
Modifying inquiry model and creating offer model
Creating client profile views
Fixing stars and hearts template tags
2021-03-24 07:43:05 +01:00

15 lines
558 B
Python

from django.contrib.admin import AdminSite
from django.utils.translation import ugettext_lazy
from django.contrib.auth import get_user_model
class JokerAdmin(AdminSite):
# Text to put at the end of each page's <title>.
site_title = ugettext_lazy('JourneyJoker Administration')
# Text to put in each page's <h1> (and above login form).
site_header = ugettext_lazy('JourneyJoker Administration')
# Text to put at the top of the admin index page.
index_title = ugettext_lazy('JourneyJoker Administration')
joker_admin = JokerAdmin()