1. Discovery Creative
  2. Untitled project
  3. django-disco

Commits

Josh Ourisman  committed 9cc89fb

handling kwargs in reverse_lazy

  • Participants
  • Parent commits 8b67ca1
  • Branches default

Comments (0)

Files changed (1)

File disco_utils/helpers.py

View file
 from django.utils.functional import lazy
 
 
-reverse_lazy = lambda name=None, *args: lazy(reverse, str)(name, args=args)
+reverse_lazy = lambda name=None, *args, **kwargs: lazy(reverse, str)(name, args=args, kwargs=kwargs)