Skip to content

Instantly share code, notes, and snippets.

@nickhudkins
Last active December 15, 2015 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickhudkins/5292702 to your computer and use it in GitHub Desktop.
Save nickhudkins/5292702 to your computer and use it in GitHub Desktop.
Flask -> Django Regex
Movin those static files over. (SUBLIME FRIENDLY)
===============================
search: "{{ url_for('static', filename='([\w\/.-_]+)') }}"
replace: "{% static '$1' %}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment