The correct place to put a markdown extension file in a django project? -
i've created markdown extension file (called mdx_xxx.py) django project i'm working on can't decide put it.
the documentation says file should reside on pythonpath , i've seen several blog posts inviting put file in root directory of project.
however, seems odd place me rather see in related application directory it's not on pythonpath anymore.
could experienced django programmer shed light on issue?
thanks
requiring extension files live directly on python path, , not inside package, (imo) unfortunate limitation of python markdown implementation.
if extension specific project, think putting in project root best option available.
on other hand, if extension reusable in other cases, package simple setup.py , install virtualenv using pip, other dependencies.
Comments
Post a Comment