Skip to content

Commit 064e489

Browse files
committed
sort requirements and settings in base.txt and base.py
1 parent 81b96bd commit 064e489

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

config/settings/base.py

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,21 @@
7474
"crispy_bootstrap5",
7575
"crispy_forms",
7676
"django_celery_beat",
77+
"django_filters",
7778
"rest_framework_datatables",
7879
"rest_framework",
79-
"django_filters",
8080
]
8181

82+
LOCAL_APPS = [
83+
"environmental_justice",
84+
"feedback",
85+
"sde_collections",
86+
"sde_indexing_helper.users",
87+
]
88+
89+
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
90+
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
91+
8292
CORS_ALLOWED_ORIGINS = [
8393
"http://localhost:3000",
8494
"http://sde-lrm.nasa-impact.net",
@@ -92,15 +102,6 @@
92102
"http://localhost:4200",
93103
]
94104

95-
LOCAL_APPS = [
96-
"environmental_justice",
97-
"sde_indexing_helper.users",
98-
"sde_collections",
99-
"feedback",
100-
]
101-
# https://docs.djangoproject.com/en/dev/ref/settings/#installed-apps
102-
INSTALLED_APPS = DJANGO_APPS + THIRD_PARTY_APPS + LOCAL_APPS
103-
104105
# MIGRATIONS
105106
# ------------------------------------------------------------------------------
106107
# https://docs.djangoproject.com/en/dev/ref/settings/#migration-modules

requirements/base.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@ crispy-bootstrap5==2023.10 # https://github.com/django-crispy-forms/crispy-boot
2121
# project-specific
2222
beautifulsoup4==4.12.3
2323
boto3==1.34.31
24+
django-cors-headers==4.3.1
25+
django-filter==24.3
2426
djangorestframework-datatables==0.7.0
2527
djangorestframework==3.14.0
28+
lxml==4.9.2
2629
PyGithub==2.2.0
2730
tqdm==4.66.3
28-
xmltodict==0.13.0
29-
django-cors-headers==4.3.1
3031
unidecode==1.3.8
31-
lxml==4.9.2
32-
django-filter==24.3
32+
xmltodict==0.13.0

0 commit comments

Comments
 (0)