Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ocelotl committed Jul 12, 2023
1 parent 6db2f8e commit 95fdc1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@
else:
from django.conf.urls import url as re_path

def path(p, *args, **kwargs):
return re_path(r"^%s$" % p, *args, **kwargs)
def path(path_argument, *args, **kwargs):
return re_path(rf"^{path_argument}$", *args, **kwargs)


urlpatterns = [
Expand Down

0 comments on commit 95fdc1d

Please sign in to comment.