File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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
47Django==4.2.27
58docutils==0.21.2
69Markdown==3.7
Original file line number Diff line number Diff line change 123123TEMPLATES = [
124124 {
125125 'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
126- 'DIRS' : [TEMPLATES_DIR ],
127- 'APP_DIRS' : True ,
126+ 'DIRS' : [
127+ TEMPLATES_DIR ,
128+ ],
128129 'OPTIONS' : {
130+ 'loaders' : [
131+ 'apptemplates.Loader' ,
132+ 'django.template.loaders.filesystem.Loader' ,
133+ 'django.template.loaders.app_directories.Loader' ,
134+ ],
129135 'context_processors' : [
130136 'django.template.context_processors.debug' ,
131137 'django.template.context_processors.i18n' ,
184190 'django.contrib.staticfiles' ,
185191 'django.contrib.humanize' ,
186192
193+ 'admin_interface' ,
194+ 'colorfield' ,
187195 'django.contrib.admin' ,
188196 'django.contrib.admindocs' ,
189197
190198 'django_celery_beat' ,
199+ 'django_translation_aliases' ,
191200 'pipeline' ,
192201 'sitetree' ,
193202 'imagekit' ,
Original file line number Diff line number Diff line change 1- {% extends "admin/base .html" %}
1+ {% extends "admin_interface: admin/base_site .html" %}
22{% load i18n %}
33
44{% block title %}{{ title }} | {% trans 'python.org' %}{% endblock %}
55
66{% block branding %}
7- < h1 id ="site-name "> < a href =" {% url 'admin:index' %} " > {% trans 'python.org administration' %}</ a > </ h1 >
7+ < h1 id ="site-name "> {% trans 'python.org administration' %}</ h1 >
88{% endblock %}
99
1010{% block nav-global %}{% endblock %}
You can’t perform that action at this time.
0 commit comments