79430806

Date: 2025-02-11 17:16:55
Score: 1.5
Natty:
Report link

adjust your re_path that should exclude /admin/ URLs

    urlpatterns += [
    re_path(r"^(?!admin/).*", views.RedirectView.as_view(), name="my-view"),
]
Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: daj