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
Name |
Last commit
|
Last Update |
---|---|---|
.. | ||
fixtures | Loading commit data... | |
migrations | Loading commit data... | |
static | Loading commit data... | |
tasks | Loading commit data... | |
templates | Loading commit data... | |
templatetags | Loading commit data... | |
tests | Loading commit data... | |
vm | Loading commit data... | |
__init__.py | Loading commit data... | |
admin.py | Loading commit data... | |
autocomplete_light_registry.py | Loading commit data... | |
context_processors.py | Loading commit data... | |
forms.py | Loading commit data... | |
models.py | Loading commit data... | |
store_api.py | Loading commit data... | |
tables.py | Loading commit data... | |
urls.py | Loading commit data... | |
views.py | Loading commit data... | |
virtvalidator.py | Loading commit data... |