Skip to content

Commit

Permalink
Issue HassenPy#40: Fix status_code error.
Browse files Browse the repository at this point in the history
  • Loading branch information
gh640 committed Jun 12, 2018
1 parent a192e51 commit 35bfe8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_pdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

if DEBUG and POST_MORTEM == True:
from django.views import debug
def runpdb(request, exc_type, exc_value, tb):
def runpdb(request, exc_type, exc_value, tb, status_code=500):
import sys
try:
import ipdb
Expand Down

0 comments on commit 35bfe8e

Please sign in to comment.