index.html
1.24 KB
-
use static template tag instead variable substitution · 6c71ffbc
sed -i -e 's/{{ *STATIC_URL *}}\([^"]*\)"/{% static "\1" %}"/g' $(find -name \*.html) for i in $(comm <(git grep -l %.static|sort) <(git grep -l staticfiles) -23); do sed -i $i -e '1a {% load staticfiles %}'; done
Őry Máté committed