Moved imports to manage.py and wsgi.py.

This commit is contained in:
Usman Khalid
2014-09-12 19:51:25 +05:00
parent 75908924ce
commit 32c6dad526
6 changed files with 16 additions and 9 deletions

View File

@@ -1,3 +1,7 @@
# Patch the xml libs
from safe_lxml import defuse_xml_libs
defuse_xml_libs()
# Disable PyContract contract checking when running as a webserver
import contracts
contracts.disable_all()