File tree Expand file tree Collapse file tree 6 files changed +26
-52
lines changed Expand file tree Collapse file tree 6 files changed +26
-52
lines changed Original file line number Diff line number Diff line change 10
10
11
11
strategy :
12
12
matrix :
13
- python-version : [3.8 ]
13
+ python-version : [3.13.4 ]
14
14
steps :
15
15
- name : Checkout code
16
16
uses : actions/checkout@v4
31
31
- name : Run tests with coverage
32
32
run : |
33
33
python manage.py test
34
+
34
35
Original file line number Diff line number Diff line change 1
- web : gunicorn carbon_track .wsgi --log-file -
1
+ web : gunicorn feedlink .wsgi --log-file -
2
2
3
3
4
4
Original file line number Diff line number Diff line change 25
25
26
26
# Quick-start development settings - unsuitable for production
27
27
# See https://docs.djangoproject.com/en/5.2/howto/deployment/checklist/
28
- SECRET_KEY = os .getenv ('SECRET_KEY' , 'replace-this-with-a-secure-key ' )
28
+ SECRET_KEY = os .getenv ('SECRET_KEY' , 'fake-secret-key-for-tests-12345 ' )
29
29
30
30
31
31
# SECURITY WARNING: don't run with debug turned on in production!
35
35
36
36
37
37
38
- CORS_ALLOW_CREDENTIALS = True
38
+ CORS_ORIGIN_ALLOW_ALL = True
39
39
40
40
41
41
72
72
'django.middleware.common.CommonMiddleware' ,
73
73
'django.middleware.csrf.CsrfViewMiddleware' ,
74
74
'django.contrib.auth.middleware.AuthenticationMiddleware' ,
75
+ 'whitenoise.middleware.WhiteNoiseMiddleware' ,
75
76
'django.contrib.messages.middleware.MessageMiddleware' ,
76
77
'django.middleware.clickjacking.XFrameOptionsMiddleware' ,
77
78
]
203
204
# https://docs.djangoproject.com/en/5.2/howto/static-files/
204
205
205
206
206
- STATIC_URL = 'static/'
207
+ STATIC_ROOT = os .path .join (BASE_DIR , 'staticfiles' )
208
+ STATIC_URL = '/static/'
209
+ STATICFILES_DIRS = (
210
+ os .path .join (BASE_DIR , 'static' ),
211
+ )
212
+
213
+ MEDIA_URL = "/media/"
214
+ MEDIA_ROOT = os .path .join (BASE_DIR , 'media' )
207
215
208
216
209
217
# Default primary key field type
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -4,35 +4,36 @@ black==24.8.0
4
4
certifi == 2025.8.3
5
5
charset-normalizer == 3.4.3
6
6
click == 8.1.8
7
+ dj-database-url == 1.0.0
7
8
django == 4.2.24
8
- django-cors-headers == 4.4 .0
9
+ django-cors-headers == 4.6 .0
9
10
django-environ == 0.11.2
10
- django-filter == 24.3
11
+ django-filter == 25.1
11
12
djangorestframework == 3.15.2
12
13
djangorestframework-simplejwt == 5.3.1
13
14
drf-spectacular == 0.28.0
15
+ drf-spectacular-sidecar == 2025.6.1
16
+ gunicorn == 23.0.0
14
17
idna == 3.10
15
18
inflection == 0.5.1
16
- jsonschema-specifications == 2023.12.1
17
- inflection == 0.5.1
18
19
jsonschema == 4.23.0
20
+ jsonschema-specifications == 2023.12.1
19
21
mypy-extensions == 1.0.0
20
22
packaging == 24.2
21
23
pathspec == 0.12.1
22
24
pillow == 10.4.0
23
25
platformdirs == 4.3.6
26
+ psycopg == 3.2.10
27
+ psycopg2-binary == 2.9.10
24
28
pyjwt == 2.9.0
29
+ python-dotenv == 1.0.0
25
30
pyyaml == 6.0.2
26
31
referencing == 0.35.1
27
- python-dotenv == 1.0.0
28
32
requests == 2.32.4
33
+ rpds-py == 0.20.1
29
34
sqlparse == 0.5.3
30
35
tomli == 2.2.1
31
36
typing-extensions == 4.13.2
32
37
uritemplate == 4.1.1
33
38
urllib3 == 2.2.3
34
- django-environ == 0.11.2
35
- django-cors-headers
36
- psycopg == 3.2.10
37
- psycopg2-binary == 2.9.10
38
- dj-database-url == 1.0.0
39
+ whitenoise == 6.11.0
Original file line number Diff line number Diff line change 1
- python-3.11
1
+ python-3.11.0
You can’t perform that action at this time.
0 commit comments