mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2026-02-05 11:25:19 -05:00
feat: Implement passkey authentication, account management features, and a dedicated MFA login verification flow.
This commit is contained in:
@@ -333,6 +333,11 @@ class ParkListCreateAPIView(APIView):
|
||||
|
||||
def _apply_park_attribute_filters(self, qs: QuerySet, params: dict) -> QuerySet:
|
||||
"""Apply park attribute filtering to the queryset."""
|
||||
# Slug filter - exact match for single park lookup
|
||||
slug = params.get("slug")
|
||||
if slug:
|
||||
qs = qs.filter(slug=slug)
|
||||
|
||||
park_type = params.get("park_type")
|
||||
if park_type:
|
||||
qs = qs.filter(park_type=park_type)
|
||||
|
||||
Reference in New Issue
Block a user