From f24c1f0cdfc947941809a9e8c6a858cfc2a12e96 Mon Sep 17 00:00:00 2001 From: test test Date: Thu, 10 Jun 2021 14:29:35 +0200 Subject: [PATCH] fix admin template issue --- app/settings.py | 3 +- teleforma/templates/admin/base.html | 217 ---------------------------- 2 files changed, 2 insertions(+), 218 deletions(-) delete mode 100644 teleforma/templates/admin/base.html diff --git a/app/settings.py b/app/settings.py index b0d8c3ae..bfd76de1 100644 --- a/app/settings.py +++ b/app/settings.py @@ -142,10 +142,11 @@ INSTALLED_APPS = ( 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', + 'teleforma', 'jazzmin', 'django.contrib.admin', # 'south', - 'teleforma', + 'teleforma.webclass', 'teleforma.exam', 'jsonrpc', diff --git a/teleforma/templates/admin/base.html b/teleforma/templates/admin/base.html deleted file mode 100644 index 888f3fb4..00000000 --- a/teleforma/templates/admin/base.html +++ /dev/null @@ -1,217 +0,0 @@ -{% load admin_static %}{% load suit_tags %}{% load url from future %} - - - - {% block title %}{{ title }} | {{ 'ADMIN_NAME'|suit_conf }}{% endblock %} - - - - - {% block extrastyle %}{% endblock %} - {% if LANGUAGE_BIDI %}{% endif %} - - - - - {% if 'SHOW_REQUIRED_ASTERISK'|suit_conf %} - - {% endif %} - {% block extrahead %}{% endblock %} - {% block blockbots %} - {% endblock %} - - - -{% load i18n %} - - - - -
- - - {% block container %} -
- - {% block header %} - {% if not is_popup %} - - - {% endif %} - - {% endblock %} - - -
- - {% block content-center %} -
- - {% if not is_popup %} - {% block breadcrumbs %} - - {% endblock %} - {% endif %} - - {% block messages %} - {% if messages %} - - {% for message in messages %} -
- - {{ message }} -
- {% endfor %} - {% endif %} - {% endblock messages %} - - -
- {% block pretitle %}{% endblock %} - {% block content_title %}{% if title %} -

{{ title }}

- {% endif %}{% endblock %} - {% block content %} - {% block object-tools %}{% endblock %} - {{ content }} - {% endblock %} - {% block sidebar_content %} - {% block sidebar %}{% endblock %} - {% endblock %} -
- -
- {% endblock %} - - - {% block content-left %} - {% if not is_popup %} -
- {% block quick-search %} - {% with 'SEARCH_URL'|suit_conf as search_url %} - {% if search_url %} - - {% endif %} - {% endwith %} - {% endblock %} - - {% include 'suit/menu.html' %} - -
- {% endif %} - {% endblock %} - -
-
- {% endblock %} - - {% if not is_popup %} - -
- {% endif %} - -
- -{% block footer %} - {% if not is_popup %} - - {% endif %} -{% endblock %} - - - {% block extrajs %}{% endblock %} - - - -- 2.39.5