Skip to content

Instantly share code, notes, and snippets.

@jonas-grgt
Created October 16, 2012 20:57
Show Gist options
  • Save jonas-grgt/3901996 to your computer and use it in GitHub Desktop.
Save jonas-grgt/3901996 to your computer and use it in GitHub Desktop.
lazy reverse
from django.utils.functional import lazy
from django.core.urlresolvers import reverse
reverse_lazy = lazy(reverse, unicode)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment