Skip to content

Commit

Permalink
Supporting Django<=1.7.x
Browse files Browse the repository at this point in the history
  • Loading branch information
wm3ndez committed Mar 30, 2016
1 parent f148977 commit c1ed0eb
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion silk/views/requests.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
from django.template.context_processors import csrf
try:
from django.core.context_processors import csrf
except ImportError:
# Django>=1.8
from django.template.context_processors import csrf

from django.db.models import Sum
from django.shortcuts import render_to_response
Expand Down

0 comments on commit c1ed0eb

Please sign in to comment.