Skip to content

Commit

Permalink
Move to python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
christianwgd committed Aug 13, 2024
1 parent eecd80a commit 2236798
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/django-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: ['3.10', '3.11']
python-version: ['3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v3
Expand Down
4 changes: 3 additions & 1 deletion dartboard/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import sys
from pathlib import Path

from django.conf.global_settings import STORAGES
# Build paths inside the project like this: BASE_DIR / 'subdir'.
from django.urls import reverse_lazy

Expand All @@ -39,6 +40,7 @@
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_unicorn',
'accounts',
'match',
'player',
Expand Down Expand Up @@ -104,7 +106,7 @@
AVATAR_GRAVATAR_DEFAULT = 'identicon'
AVATAR_CLEANUP_DELETED = True
AVATAR_THUMB_FORMAT = "PNG"
AVATAR_GRAVATAR_DEFAULT = '/static/img/default_avatar.png'
DEFAULT_FILE_STORAGE = STORAGES

##################
# LOCAL SETTINGS #
Expand Down
1 change: 1 addition & 0 deletions dartboard/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,5 @@
path('', views.index, name='home'),
path('player/', include('player.urls')),
path('match/', include('match.urls')),
path("unicorn/", include("django_unicorn.urls")),
]

0 comments on commit 2236798

Please sign in to comment.