mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-20 10:51:09 -05:00
Update Django and dependencies, add app path configuration
This commit is contained in:
@@ -1,5 +1,7 @@
|
|||||||
from django.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
import os
|
||||||
|
|
||||||
class LocationConfig(AppConfig):
|
class LocationConfig(AppConfig):
|
||||||
|
path = os.path.dirname(os.path.abspath(__file__))
|
||||||
default_auto_field = 'django.db.models.BigAutoField'
|
default_auto_field = 'django.db.models.BigAutoField'
|
||||||
name = 'location'
|
name = 'location'
|
||||||
|
|||||||
@@ -7,7 +7,6 @@ authors = ["Your Name <your.email@example.com>"]
|
|||||||
[tool.poetry.dependencies]
|
[tool.poetry.dependencies]
|
||||||
python = "^3.11"
|
python = "^3.11"
|
||||||
Django = "^5.0"
|
Django = "^5.0"
|
||||||
reactivated = "^0.46.0"
|
|
||||||
djangorestframework = "^3.14.0"
|
djangorestframework = "^3.14.0"
|
||||||
django-cors-headers = "^4.3.1"
|
django-cors-headers = "^4.3.1"
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
# Django and REST framework
|
# Django and REST framework
|
||||||
Django==5.1.5
|
Django==5.1.6
|
||||||
djangorestframework==3.15.2
|
djangorestframework==3.15.2
|
||||||
django-cors-headers==4.6.0
|
django-cors-headers==4.6.0
|
||||||
|
|
||||||
# Authentication
|
# Authentication
|
||||||
django-allauth==65.3.1
|
django-allauth==65.4.0
|
||||||
django-oauth-toolkit==3.0.1
|
django-oauth-toolkit==3.0.1
|
||||||
dj-rest-auth==7.0.1 # Added for REST authentication endpoints
|
dj-rest-auth==7.0.1 # Added for REST authentication endpoints
|
||||||
pyjwt==2.10.1
|
pyjwt==2.10.1
|
||||||
@@ -31,7 +31,7 @@ whitenoise==6.8.2 # Static file serving
|
|||||||
pycountry==24.6.1
|
pycountry==24.6.1
|
||||||
|
|
||||||
# Development
|
# Development
|
||||||
black==24.10.0
|
black==25.1.0
|
||||||
flake8==7.1.1
|
flake8==7.1.1
|
||||||
pytest==8.3.4
|
pytest==8.3.4
|
||||||
pytest-django==4.9.0
|
pytest-django==4.9.0
|
||||||
|
|||||||
Reference in New Issue
Block a user