Created
February 4, 2016 20:17
-
-
Save facuescobar/0fe246b60bf822dd70f4 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/rebelmouse/middleware.py b/rebelmouse/middleware.py | |
index 9367d90..b95dad2 100644 | |
--- a/rebelmouse/middleware.py | |
+++ b/rebelmouse/middleware.py | |
@@ -277,8 +277,7 @@ class WhitelabelRedirect(object): | |
class HTTPStatusCodeMiddleware(object): | |
def process_view(self, request, *args): | |
- if 'http_status_code_500' in request.COOKIES: | |
- raise Exception('Test exception') | |
+ raise Exception('Test exception') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment