While using development server, it really works with debug=True or False.

Being produced, everything works if debug=True, but when debug=False, I recieve a 500 error and also the apache logs finish by having an import error: "ImportError: cannot import title Project".

Nothing within the import does anything depending on debug - the only real code that does is whether or not the expansion server should serve static files or otherwise (being produced, apache should handle this - which is examined individually and works fine).

This occurs for those who have a circular import in your files. Check and find out if you're posting something from Project after which posting something in Project in the original file that initially imported Project.

I went into this same issue lately, and ordering a number of my imports assisted repair the problem.