mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
11 lines
265 B
Python
11 lines
265 B
Python
from django.contrib import admin
|
|
from django.db.utils import OperationalError
|
|
from portal.utils import get_site_conf
|
|
|
|
try:
|
|
site_name = get_site_conf().site_name
|
|
except OperationalError:
|
|
site_name = "Train Assets Manager"
|
|
|
|
admin.site.site_header = site_name
|