Skip to content

Commit

Permalink
chore: bump dj-rest-auth, django-allauth, & DRF
Browse files Browse the repository at this point in the history
We are not bumping django-allauth all the way to the latest(0.63.3) because of
an issue being fixed by iMerica/dj-rest-auth#627.
There is a PR supposed to take care of this at #81.
  • Loading branch information
Olfredos6 committed Jun 5, 2024
1 parent 8bbc08e commit ee59614
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
11 changes: 7 additions & 4 deletions pharmanathi.com/config/api_router.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
from django.conf import settings
from django.urls import path
from rest_framework.routers import DefaultRouter, SimpleRouter

from pharmanathi_backend.appointments.views import AppointmentTypeViewSet, AppointmentViewSet, TimeSlotViewSet
from pharmanathi_backend.appointments.views import (
AppointmentTypeViewSet,
AppointmentViewSet,
TimeSlotViewSet,
)
from pharmanathi_backend.users.api.views import (
AddressModelViewset,
GoogleLoginView,
Expand All @@ -11,6 +13,7 @@
SpecialityModelViewset,
UserViewSet,
)
from rest_framework.routers import DefaultRouter, SimpleRouter

if settings.DEBUG:
router = DefaultRouter()
Expand All @@ -24,7 +27,7 @@
router.register("practice-locations", PracticeLocationModelViewset, "practicelocations")
router.register("appointment-types", AppointmentTypeViewSet, "appointment-types")
router.register("timeslots", TimeSlotViewSet, "timeslots")
router.register("appointments", AppointmentViewSet, "timeslots")
router.register("appointments", AppointmentViewSet, "appointments")


app_name = "api"
Expand Down
7 changes: 4 additions & 3 deletions pharmanathi.com/requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ uvicorn[standard]==0.30.1 # https://github.com/encode/uvicorn
django==5.0.3 # pyup: < 5.0 # https://www.djangoproject.com/
django-environ==0.11.2 # https://github.com/joke2k/django-environ
django-model-utils==4.5.1 # https://github.com/jazzband/django-model-utils
django-allauth==0.57.0 # https://github.com/pennersr/django-allauth
dj-rest-auth[with_social]
django-allauth==0.61.1 # https://github.com/pennersr/django-allauth
dj-rest-auth[with_social]==6.0.0 # https://github.com/iMerica/dj-rest-auth
pyjwt[crypto]==2.8.0 # https://github.com/jpadilla/pyjwt
django-crispy-forms==2.0 # https://github.com/django-crispy-forms/django-crispy-forms
crispy-bootstrap5==2024.2 # https://github.com/django-crispy-forms/crispy-bootstrap5
django-redis==5.4.0 # https://github.com/jazzband/django-redis
# Django REST Framework
djangorestframework==3.14.0 # https://github.com/encode/django-rest-framework
djangorestframework==3.15.1 # https://github.com/encode/django-rest-framework
django-cors-headers==4.3.1 # https://github.com/adamchainz/django-cors-headers
# DRF-spectacular for api documentation
drf-spectacular==0.27.2 # https://github.com/tfranzel/drf-spectacular
Expand Down

0 comments on commit ee59614

Please sign in to comment.