File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 1
1
from django .apps import AppConfig
2
+ from django .core .serializers import register_serializer
2
3
3
4
4
5
class AppConfig (AppConfig ):
5
6
default_auto_field = "django.db.models.BigAutoField"
6
7
name = "app"
8
+
9
+ def ready (self ):
10
+ register_serializer ('yml' , 'django.core.serializers.pyyaml' )
Original file line number Diff line number Diff line change @@ -3,22 +3,25 @@ black==22.3.0
3
3
certifi == 2022.6.15
4
4
click == 8.1.3
5
5
Django == 4.0.7
6
+ django-click == 2.3.0
6
7
django-extensions == 3.2.0
7
8
django-filter == 21.1
9
+ django-request == 1.6.1
8
10
djangorestframework == 3.13.1
9
11
gunicorn == 20.1.0
12
+ Markdown == 3.3.7
10
13
mypy-extensions == 0.4.3
11
14
pathspec == 0.9.0
12
15
platformdirs == 2.5.2
13
16
psycopg2 == 2.9.3
17
+ PyJWT == 2.4.0
18
+ python-dateutil == 2.8.2
14
19
python-dotenv == 0.20.0
15
20
pytz == 2022.1
21
+ PyYAML == 6.0
16
22
sentry-sdk == 1.9.0
23
+ six == 1.16.0
17
24
sqlparse == 0.4.2
18
25
tomli == 2.0.1
19
26
urllib3 == 1.26.11
20
27
whitenoise == 6.0.0
21
- PyJWT == 2.4.0
22
- Markdown == 3.3.7
23
- django-click == 2.3.0
24
- django-request == 1.6.1
You can’t perform that action at this time.
0 commit comments