Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django from 5.0.8 to 5.0.9 in /backend #984

Merged
merged 4 commits into from
Oct 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading