File tree 4 files changed +17
-17
lines changed
4 files changed +17
-17
lines changed Original file line number Diff line number Diff line change 1
1
dj-database-url==0.5.0
2
2
django-pipeline==2.0.6
3
3
django-sitetree==1.17.0
4
+ django-apptemplates==1.5
5
+ django-admin-interface==0.24.2
6
+ django-translation-aliases==0.1.0
4
7
Django==2.2.24
5
8
docutils==0.12
6
9
Markdown==3.3.4
7
10
cmarkgfm==0.6.0
8
- Pillow==8.3.1
11
+ Pillow==9.4.0
9
12
psycopg2-binary==2.8.6
10
13
python3-openid==3.2.0
11
14
python-decouple==3.4
Original file line number Diff line number Diff line change 94
94
'DIRS' : [
95
95
TEMPLATES_DIR ,
96
96
],
97
- 'APP_DIRS' : True ,
98
97
'OPTIONS' : {
98
+ 'loaders' : [
99
+ 'apptemplates.Loader' ,
100
+ 'django.template.loaders.filesystem.Loader' ,
101
+ 'django.template.loaders.app_directories.Loader' ,
102
+ ],
99
103
'context_processors' : [
100
104
'django.template.context_processors.debug' ,
101
105
'django.template.context_processors.i18n' ,
151
155
'django.contrib.redirects' ,
152
156
'django.contrib.messages' ,
153
157
'django.contrib.staticfiles' ,
158
+ 'django.contrib.humanize' ,
159
+
160
+ 'admin_interface' ,
161
+ 'colorfield' ,
154
162
'django.contrib.admin' ,
155
163
'django.contrib.admindocs' ,
156
- 'django.contrib.humanize' ,
157
164
165
+ 'django_translation_aliases' ,
158
166
'pipeline' ,
159
167
'sitetree' ,
160
168
'imagekit' ,
288
296
289
297
### SecurityMiddleware
290
298
291
- X_FRAME_OPTIONS = 'DENY'
299
+ X_FRAME_OPTIONS = 'SAMEORIGIN'
300
+ SILENCED_SYSTEM_CHECKS = ["security.W019" ]
292
301
293
302
### django-rest-framework
294
303
Original file line number Diff line number Diff line change 20
20
}
21
21
}
22
22
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
-
35
23
SECRET_KEY = config ('SECRET_KEY' )
36
24
37
25
ALLOWED_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" %}
2
2
{% load i18n %}
3
3
4
4
{% block title %}{{ title }} | {% trans 'python.org' %}{% endblock %}
You can’t perform that action at this time.
0 commit comments