File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 62
62
'bootstrap_datepicker_plus' ,
63
63
'constance' ,
64
64
'constance.backends.database' ,
65
+ 'corsheaders' ,
65
66
'crispy_forms' ,
66
67
'crispy_bootstrap5' ,
67
68
'dbbackup' ,
90
91
'django.contrib.messages.middleware.MessageMiddleware' ,
91
92
'django.middleware.clickjacking.XFrameOptionsMiddleware' ,
92
93
'simple_history.middleware.HistoryRequestMiddleware' ,
94
+ 'corsheaders.middleware.CorsMiddleware' ,
93
95
]
94
96
95
97
ROOT_URLCONF = 'lowfat.urls'
96
98
99
+ CSRF_TRUSTED_ORIGINS = [
100
+ 'http://127.0.0.1:8000' ,
101
+ 'https://fellows.software.ac.uk' ,
102
+ ]
103
+
97
104
TEMPLATES = [
98
105
{
99
106
'BACKEND' : 'django.template.backends.django.DjangoTemplates' ,
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ Django==4.2
11
11
django-appconf == 1.0.5
12
12
django-bootstrap-datepicker-plus == 4.0.0
13
13
django-constance == 2.9.1
14
+ django-cors-headers == 4.3.1
14
15
django-countries == 7.3.2
15
16
django-crispy-forms == 1.14.0
16
17
django-datetime-widget == 0.9.3
@@ -36,7 +37,7 @@ odfpy==1.4.1
36
37
openpyxl == 3.1.2
37
38
pandas == 1.4.3
38
39
pilkit == 2.0
39
- Pillow == 10.2.0
40
+ pillow == 10.2.0
40
41
pycparser == 2.21
41
42
PyJWT == 2.4.0
42
43
PyPDF2 == 2.10.3
@@ -57,4 +58,4 @@ tablib==3.5.0
57
58
typing_extensions == 4.3.0
58
59
urllib3 == 1.26.12
59
60
xlrd == 2.0.1
60
- xlwt == 1.3.0
61
+ xlwt == 1.3.0
You can’t perform that action at this time.
0 commit comments