Skip to content

Commit

Permalink
Merge pull request #984 from activist-org/dependabot/pip/backend/djan…
Browse files Browse the repository at this point in the history
…go-5.0.9

Bump django from 5.0.8 to 5.0.9 in /backend
  • Loading branch information
andrewtavis authored Oct 13, 2024
2 parents 313a770 + 95c2aa5 commit ad64768
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions backend/entities/views.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# mypy: disable-error-code="override"
from django.db.models import QuerySet
from django.utils import timezone
from rest_framework import status, viewsets
from rest_framework.authentication import TokenAuthentication
Expand Down Expand Up @@ -272,7 +273,7 @@ class OrganizationEventViewSet(viewsets.ModelViewSet[OrganizationEvent]):
serializer_class = OrganizationEventSerializer
pagination_class = CustomPagination

def get_queryset(self):
def get_queryset(self) -> QuerySet[OrganizationEvent]:
if org_id := self.request.query_params.get("org_id", None):
return self.queryset.filter(org_id=org_id)

Expand All @@ -296,7 +297,7 @@ class OrganizationGroupViewSet(viewsets.ModelViewSet[OrganizationGroup]):
serializer_class = OrganizationGroupSerializer
pagination_class = CustomPagination

def get_queryset(self):
def get_queryset(self) -> QuerySet[OrganizationGroup]:
if org_id := self.request.query_params.get("org_id", None):
return self.queryset.filter(org_id=org_id)

Expand Down
2 changes: 1 addition & 1 deletion backend/requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ coverage[toml]==7.4.4
# via pytest-cov
distlib==0.3.8
# via virtualenv
django==5.0.8
django==5.0.9
# via
# -r requirements.txt
# django-cors-headers
Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ certifi==2024.7.4
# via requests
charset-normalizer==3.3.2
# via requests
django==5.0.8
django==5.0.9
# via
# -r requirements.in
# django-cors-headers
Expand Down
2 changes: 1 addition & 1 deletion frontend/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default defineNuxtConfig({
},
i18n: {
lazy: true,
strategy: "prefix",
strategy: "prefix_and_default",
langDir: "./i18n",
vueI18n: "./i18n.config.ts",
baseUrl: "https://activist.org",
Expand Down

0 comments on commit ad64768

Please sign in to comment.