Skip to content

Commit

Permalink
fix constance imort
Browse files Browse the repository at this point in the history
  • Loading branch information
submarcos committed Nov 25, 2024
1 parent ae603c9 commit 9ee5ecc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions project/accounts/admin.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
from constance import config
from django.contrib import admin
from django.utils.translation import gettext_lazy as _

from project.accounts.models import FunctionalPermission, PermanentAccessToken, User
from project.admin import config_site

admin.site.index_title = f'{config.INSTANCE_TITLE}: {_("Debug panel")}'
admin.site.site_header = f'{config.INSTANCE_TITLE}: {_("Debug panel")}'
admin.site.index_title = _(f"Welcome to {config.INSTANCE_TITLE} debug interface.")
admin.site.index_title = f'TerraVisu: {_("Debug panel")}'
admin.site.site_header = f'TerraVisu: {_("Debug panel")}'
admin.site.index_title = _("Welcome to TerraVisu debug interface.")

admin.site.register(User)

Expand Down

0 comments on commit 9ee5ecc

Please sign in to comment.