I can't login to my Django app when debug is set to False
Make sure the urls.py file imports everything from django.conf.urls.defaults.
You may have explicitly imported certain methods such as patterns and include (as I did to combat PyDev's 'wild import' warning messages). 
As a result, crucial statements that assign Django's default handlers to 404 and 500 HTTP error codes will be omitted. 
This is obviously undesired and leads to the odd behavior described in the question.
Short Story: I get locked out of my Django app when Debug is set to False. 
Long story:
Case 1 (the first time it happened):

I enter my login info, but It just redirects to the login page.
I restart the server, try to login, and it works fine, I get in.
a few hours later I come back, log out, try to log back in and I can't. It just redirects to the login page.

Case 2 (I figure out how to provoke the login failure):

I restart the server and am able to login to the site.
I log in and log out several times, everything is fine.
I go to a non-existing page and get a server error.
I log out and try to log back in, and I can't, just get redirected back to the login page.

Case 3 (I can't provoke the login failure with Debug set to True):
1. I restart the server and am able to login to the site.
2. I log in and log out several times, everything is fine.
3. I go to a non-existing page and get a traceback.
4. I log out and log back in, everything works.
5. I wait and play around with it and can't get the login to fail while in Debug mode.
Please help!