Compare commits

..

No commits in common. "0e8f816d0e7c39e3b8801e0fde8c47f86f183a6b" and "594947852fdeb1ba3b02e0a055d727f47c41589c" have entirely different histories.

2 changed files with 2 additions and 1 deletions

View file

@ -2,6 +2,7 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.1.0 rev: v2.1.0
hooks: hooks:
- id: autopep8-wrapper
- id: check-byte-order-marker - id: check-byte-order-marker
- id: check-case-conflict - id: check-case-conflict
- id: check-executables-have-shebangs - id: check-executables-have-shebangs

View file

@ -1,5 +1,5 @@
from django.views.generic.base import RedirectView from django.views.generic.base import RedirectView
from django.templatetags.static import static from django.contrib.staticfiles.templatetags.staticfiles import static
def redirect_to_static(file): def redirect_to_static(file):