File tree Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Expand file tree Collapse file tree 4 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 11dj-database-url==0.5.0
22django-pipeline==2.0.6
33django-sitetree==1.17.0
4+ django-apptemplates==1.5
5+ django-admin-interface==0.24.2
6+ django-translation-aliases==0.1.0
47Django==2.2.24
58docutils==0.12
69Markdown==3.3.4
710cmarkgfm==0.6.0
8- Pillow==8.3.1
11+ Pillow==9.4.0
912psycopg2-binary==2.8.6
1013python3-openid==3.2.0
1114python-decouple==3.4
Original file line number Diff line number Diff line change 9494 'DIRS' : [
9595 TEMPLATES_DIR ,
9696 ],
97- 'APP_DIRS' : True ,
9897 'OPTIONS' : {
98+ 'loaders' : [
99+ 'apptemplates.Loader' ,
100+ 'django.template.loaders.filesystem.Loader' ,
101+ 'django.template.loaders.app_directories.Loader' ,
102+ ],
99103 'context_processors' : [
100104 'django.template.context_processors.debug' ,
101105 'django.template.context_processors.i18n' ,
151155 'django.contrib.redirects' ,
152156 'django.contrib.messages' ,
153157 'django.contrib.staticfiles' ,
158+ 'django.contrib.humanize' ,
159+
160+ 'admin_interface' ,
161+ 'colorfield' ,
154162 'django.contrib.admin' ,
155163 'django.contrib.admindocs' ,
156- 'django.contrib.humanize' ,
157164
165+ 'django_translation_aliases' ,
158166 'pipeline' ,
159167 'sitetree' ,
160168 'imagekit' ,
288296
289297### SecurityMiddleware
290298
291- X_FRAME_OPTIONS = 'DENY'
299+ X_FRAME_OPTIONS = 'SAMEORIGIN'
300+ SILENCED_SYSTEM_CHECKS = ["security.W019" ]
292301
293302### django-rest-framework
294303
Original file line number Diff line number Diff line change 2020 }
2121}
2222
23- HAYSTACK_SEARCHBOX_SSL_URL = config (
24- 'SEARCHBOX_SSL_URL'
25- )
26-
27- HAYSTACK_CONNECTIONS = {
28- 'default' : {
29- 'ENGINE' : 'haystack.backends.elasticsearch5_backend.Elasticsearch5SearchEngine' ,
30- 'URL' : HAYSTACK_SEARCHBOX_SSL_URL ,
31- 'INDEX_NAME' : 'haystack-prod' ,
32- },
33- }
34-
3523SECRET_KEY = config ('SECRET_KEY' )
3624
3725ALLOWED_HOSTS = config ('ALLOWED_HOSTS' , cast = Csv ())
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 %}
You can’t perform that action at this time.
0 commit comments