Skip to content

Instantly share code, notes, and snippets.

@bancek
Created March 9, 2013 13:48
Show Gist options
  • Save bancek/5124223 to your computer and use it in GitHub Desktop.
Save bancek/5124223 to your computer and use it in GitHub Desktop.
Django fix url template tags
Replace: \{% url ([^']\w+)
With: {% url '\1'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment