Django URL resolving infrastructure stops working

Posted by btol45 on Stack Overflow See other posts from Stack Overflow or by btol45
Published on 2010-05-27T00:03:28Z Indexed on 2010/05/27 0:11 UTC
Read the original article Hit count: 556

Filed under:
|
|
|

We recently launched a new Django-powered website, and we are experiencing the oddest bug:

The site is running under Apache with mod_fastcgi. Everything works fine for a while, and then the URL tag and reverse() functionality stops working. Instead of returning the expected URL, they return "".

We haven't noticed anything in Apache's log file; there are no errors being generated by Django. And (the kicker) the problem only occurs in production mode; we can't reproduce it when DEBUG=True.

Any thoughts on where we should be looking for the problem?

© Stack Overflow or respective owner

Related posts about python

Related posts about django