File tree Expand file tree Collapse file tree 3 files changed +4
-16
lines changed
Expand file tree Collapse file tree 3 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 11dj-database-url==0.5.0
22django-pipeline==3.1.0 # 3.0.0 is first version that supports Django 4.2
33django-sitetree==1.18.0 # >=1.17.1 is (?) first version that supports Django 4.2
4- django-apptemplates==1.5
5- django-admin-interface==0.28.9
6- django-translation-aliases==0.1.0
74Django==4.2.27
85docutils==0.21.2
96Markdown==3.7
Original file line number Diff line number Diff line change 123123TEMPLATES = [
124124 {
125125 'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
126- 'DIRS' : [
127- TEMPLATES_DIR ,
128- ],
126+ 'DIRS' : [TEMPLATES_DIR ],
127+ 'APP_DIRS' : True ,
129128 'OPTIONS' : {
130- 'loaders' : [
131- 'apptemplates.Loader' ,
132- 'django.template.loaders.filesystem.Loader' ,
133- 'django.template.loaders.app_directories.Loader' ,
134- ],
135129 'context_processors' : [
136130 'django.template.context_processors.debug' ,
137131 'django.template.context_processors.i18n' ,
190184 'django.contrib.staticfiles' ,
191185 'django.contrib.humanize' ,
192186
193- 'admin_interface' ,
194- 'colorfield' ,
195187 'django.contrib.admin' ,
196188 'django.contrib.admindocs' ,
197189
198190 'django_celery_beat' ,
199- 'django_translation_aliases' ,
200191 'pipeline' ,
201192 'sitetree' ,
202193 'imagekit' ,
Original file line number Diff line number Diff line change 1- {% extends "admin_interface: admin/base_site .html" %}
1+ {% extends "admin/base .html" %}
22{% load i18n %}
33
44{% block title %}{{ title }} | {% trans 'python.org' %}{% endblock %}
55
66{% block branding %}
7- < h1 id ="site-name "> {% trans 'python.org administration' %}</ h1 >
7+ < h1 id ="site-name "> < a href =" {% url 'admin:index' %} " > {% trans 'python.org administration' %}</ a > </ h1 >
88{% endblock %}
99
1010{% block nav-global %}{% endblock %}
You can’t perform that action at this time.
0 commit comments