style(src/dashboard/page_views): reformat render calls

Make render invocations consistently formatted across files
This commit is contained in:
sankalp committed 2026-06-29 08:05:10 +05:45
1 parent 4f9be30a2a
commit ee5338e71c
2 files changed
+6 -2

No files matched your search

+3 -1
View File
@@ -336,7 +336,9 @@ def roles_list(request):
return redirect("dashboard") return redirect("dashboard")
roles = Role.objects.all().order_by("name") roles = Role.objects.all().order_by("name")
return render( return render(
request, "accounts/pages/roles.html", {"roles": roles, "admin_roles": ADMIN_ROLES} request,
"accounts/pages/roles.html",
{"roles": roles, "admin_roles": ADMIN_ROLES},
) )
+3 -1
View File
@@ -388,7 +388,9 @@ def ticket_detail(request, ticket_id):
pk=ticket_id, pk=ticket_id,
) )
today = timezone.now().date() today = timezone.now().date()
return render(request, "tickets/pages/detail.html", {"ticket": ticket, "today": today}) return render(
request, "tickets/pages/detail.html", {"ticket": ticket, "today": today}
)
# ── Ticket Comment Add ──────────────────────────────────────────────────── # ── Ticket Comment Add ────────────────────────────────────────────────────