From 98f41b83dcfd897978c3effbd9dc78e07c72eddf Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Sat, 18 Feb 2023 23:47:48 -0800 Subject: [PATCH] Add another helpful link to query_extras --- portal/templatetags/query_extras.py | 1 + 1 file changed, 1 insertion(+) diff --git a/portal/templatetags/query_extras.py b/portal/templatetags/query_extras.py index efe44dc..662d26d 100644 --- a/portal/templatetags/query_extras.py +++ b/portal/templatetags/query_extras.py @@ -6,6 +6,7 @@ @register.simple_tag(takes_context=True) def updated_params(context, **kwargs): # https://blog.ovalerio.net/archives/1512 + # https://cheat.readthedocs.io/en/latest/django/filter.html # https://docs.djangoproject.com/en/4.1/ref/request-response/ query_dict = context["request"].GET.copy() for k, v in kwargs.items():