Compare commits
2 commits
594947852f
...
0e8f816d0e
Author | SHA1 | Date | |
---|---|---|---|
0e8f816d0e | |||
1bf0d8478a |
2 changed files with 1 additions and 2 deletions
|
@ -2,7 +2,6 @@ repos:
|
|||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||
rev: v2.1.0
|
||||
hooks:
|
||||
- id: autopep8-wrapper
|
||||
- id: check-byte-order-marker
|
||||
- id: check-case-conflict
|
||||
- id: check-executables-have-shebangs
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
from django.views.generic.base import RedirectView
|
||||
from django.contrib.staticfiles.templatetags.staticfiles import static
|
||||
from django.templatetags.static import static
|
||||
|
||||
|
||||
def redirect_to_static(file):
|
||||
|
|
Loading…
Reference in a new issue