From 7d25d6f9923d6cfdde8f647a6a462bfdbc06353f Mon Sep 17 00:00:00 2001 From: pacnpal <183241239+pacnpal@users.noreply.github.com> Date: Thu, 6 Feb 2025 13:58:57 -0500 Subject: [PATCH] Update Django and dependencies, add app path configuration --- location/apps.py | 2 ++ pyproject.toml | 1 - requirements.txt | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/location/apps.py b/location/apps.py index cd708cf0..a1dce6b5 100644 --- a/location/apps.py +++ b/location/apps.py @@ -1,5 +1,7 @@ from django.apps import AppConfig +import os class LocationConfig(AppConfig): + path = os.path.dirname(os.path.abspath(__file__)) default_auto_field = 'django.db.models.BigAutoField' name = 'location' diff --git a/pyproject.toml b/pyproject.toml index 8cea5633..2764ca5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,6 @@ authors = ["Your Name "] [tool.poetry.dependencies] python = "^3.11" Django = "^5.0" -reactivated = "^0.46.0" djangorestframework = "^3.14.0" django-cors-headers = "^4.3.1" diff --git a/requirements.txt b/requirements.txt index 99481711..fbe75e88 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,10 +1,10 @@ # Django and REST framework -Django==5.1.5 +Django==5.1.6 djangorestframework==3.15.2 django-cors-headers==4.6.0 # Authentication -django-allauth==65.3.1 +django-allauth==65.4.0 django-oauth-toolkit==3.0.1 dj-rest-auth==7.0.1 # Added for REST authentication endpoints pyjwt==2.10.1 @@ -31,7 +31,7 @@ whitenoise==6.8.2 # Static file serving pycountry==24.6.1 # Development -black==24.10.0 +black==25.1.0 flake8==7.1.1 pytest==8.3.4 pytest-django==4.9.0