Skip to content

Commit

Permalink
chore: adds edx-django-release-util
Browse files Browse the repository at this point in the history
to the requirements and INSTALLED_APPS to support the
check_reserved_keywords management command.
  • Loading branch information
pomegranited committed May 30, 2024
1 parent 893f4fd commit 8a0a62e
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 1 deletion.
1 change: 1 addition & 0 deletions requirements/base.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ django-model-utils
jsonfield
pytz
djangorestframework
edx-django-release-util
7 changes: 7 additions & 0 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,22 @@ django==4.2.13
# -r requirements/base.in
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
# via -r requirements/base.in
djangorestframework==3.15.1
# via -r requirements/base.in
edx-django-release-util==1.4.0
# via -r requirements/base.in
jsonfield==3.1.0
# via -r requirements/base.in
pytz==2024.1
# via -r requirements/base.in
pyyaml==6.0.1
# via edx-django-release-util
six==1.16.0
# via edx-django-release-util
sqlparse==0.5.0
# via django
typing-extensions==4.11.0
Expand Down
11 changes: 11 additions & 0 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ django==4.2.13
# -r requirements/test.txt
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
# via
Expand All @@ -103,6 +104,11 @@ docutils==0.19
# -r requirements/test.txt
# pydata-sphinx-theme
# sphinx
edx-django-release-util==1.4.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
# -r requirements/test.txt
edx-lint==5.3.6
# via -r requirements/test.txt
exceptiongroup==1.2.1
Expand Down Expand Up @@ -247,17 +253,22 @@ pytz==2024.1
# babel
pyyaml==6.0.1
# via
# -r requirements/base.txt
# -r requirements/docs.txt
# -r requirements/test.txt
# code-annotations
# edx-django-release-util
requests==2.32.2
# via
# -r requirements/docs.txt
# -r requirements/test.txt
# sphinx
six==1.16.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
# -r requirements/test.txt
# edx-django-release-util
# edx-lint
# pockets
# python-dateutil
Expand Down
9 changes: 9 additions & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ django==4.2.13
# -r requirements/base.txt
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
# via -r requirements/base.txt
Expand All @@ -43,6 +44,8 @@ docutils==0.19
# via
# pydata-sphinx-theme
# sphinx
edx-django-release-util==1.4.0
# via -r requirements/base.txt
idna==3.7
# via requests
imagesize==1.4.1
Expand Down Expand Up @@ -74,10 +77,16 @@ pytz==2024.1
# via
# -r requirements/base.txt
# babel
pyyaml==6.0.1
# via
# -r requirements/base.txt
# edx-django-release-util
requests==2.32.2
# via sphinx
six==1.16.0
# via
# -r requirements/base.txt
# edx-django-release-util
# pockets
# sphinxcontrib-napoleon
snowballstemmer==2.2.0
Expand Down
13 changes: 12 additions & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ dill==0.3.8
# -r requirements/docs.txt
# django-model-utils
# djangorestframework
# edx-django-release-util
# jsonfield
django-model-utils==4.5.1
# via
Expand All @@ -79,6 +80,10 @@ docutils==0.19
# -r requirements/docs.txt
# pydata-sphinx-theme
# sphinx
edx-django-release-util==1.4.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
edx-lint==5.3.6
# via -r requirements/test.in
exceptiongroup==1.2.1
Expand Down Expand Up @@ -188,14 +193,20 @@ pytz==2024.1
# -r requirements/docs.txt
# babel
pyyaml==6.0.1
# via code-annotations
# via
# -r requirements/base.txt
# -r requirements/docs.txt
# code-annotations
# edx-django-release-util
requests==2.32.2
# via
# -r requirements/docs.txt
# sphinx
six==1.16.0
# via
# -r requirements/base.txt
# -r requirements/docs.txt
# edx-django-release-util
# edx-lint
# pockets
# python-dateutil
Expand Down
4 changes: 4 additions & 0 deletions settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@
},
}

# New DB primary keys default to an IntegerField.
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.locmem.LocMemCache',
Expand All @@ -54,6 +57,7 @@
'django.contrib.staticfiles',
'django.contrib.admin',
'django.contrib.admindocs',
'release_util',

# Submissions
'submissions'
Expand Down

0 comments on commit 8a0a62e

Please sign in to comment.