Skip to content

Commit

Permalink
Merge pull request #13 from martey/return-503-status
Browse files Browse the repository at this point in the history
Return 503 status code.
  • Loading branch information
dstegelman committed Mar 2, 2015
2 parents 82b2c95 + 681a193 commit 48a9cdc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion downtime/middleware.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ def process_request(self, request):
if url_redirect:
return redirect(url_redirect)
else:
return render(request, "downtime/downtime.html")
return render(request, "downtime/downtime.html", status=503)

0 comments on commit 48a9cdc

Please sign in to comment.