Skip to content

Commit

Permalink
⬆ Migrate to Django 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tibonihoo committed Jun 23, 2024
1 parent 55c1bb8 commit ec5809d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion requirements_base.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=4.0,<4.1
Django>=4.1,<4.2
feedparser
beautifulsoup4
oauth-dropins==6.3
Expand All @@ -9,3 +9,4 @@ six # for feedfinder2
requests # for feedfinder2 and wom_tributary
django-cryptography # for wom_tributary
mox3 # from wom_tributary -> granary -> oauth_dropins..testutil !

6 changes: 6 additions & 0 deletions wateronmars/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@
'context_processors': [
# Insert your TEMPLATE_CONTEXT_PROCESSORS here or use this
# list if you haven't customized them:
'django.template.context_processors.request',
'django.contrib.auth.context_processors.auth',
'django.template.context_processors.debug',
'django.template.context_processors.i18n',
Expand Down Expand Up @@ -318,3 +319,8 @@
LOCALE_PATHS = (
os.path.join(APP_BASE_DIR, "..", "wom_user", "locale"),
)


# Set the auto field used to build a primary key
# see also: https://stackoverflow.com/questions/67783120/warning-auto-created-primary-key-used-when-not-defining-a-primary-key-type-by
DEFAULT_AUTO_FIELD = 'django.db.models.AutoField'

0 comments on commit ec5809d

Please sign in to comment.