View Single Post
Old 10-27-2013, 09:18 AM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,433
Karma: 27757438
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yes calibre-debug uses only the calibre src folder. You have many options to get around that. First run this

calibre-debug -c "import sys; print sys.path"

If you put your django folder in some folder listed there, it will be used.

Alternately, you can modify mamage.py at the top, to do this:

import sys
sys.path.append('/path/to/django')

before importing any django modules.
kovidgoyal is offline   Reply With Quote