Skip to content

Commit

Permalink
remove codes for exception reporter filer, see https://docs.djangopro…
Browse files Browse the repository at this point in the history
  • Loading branch information
hsiaoyi0504 committed May 22, 2018
1 parent 831b416 commit b71281d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions blast/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,6 @@


def create(request, iframe=False):
#return HttpResponse("BLAST Page: create.")
from django.views.debug import get_exception_reporter_filter
import inspect
import sys
fil = get_exception_reporter_filter(request)
request_repr = '\n{0}'.format(fil.get_request_repr(request))
with open('/tmp/requests', 'a') as f:
#f.write(json.dumps(request.POST, indent=4))
f.write(request_repr)
replay = False # True if it's a history search being replayed.
if request.method == 'GET':
print('GET')
Expand Down

0 comments on commit b71281d

Please sign in to comment.