python - Custom App Folder in Django 1.7 -



python - Custom App Folder in Django 1.7 -

so used utilize next include custom app directory (for organization sake) , worked until django 1.6

noticed it's not working django 1.7 (python 2.7). suggestions in right direction much appreciated.

the error inability find app included in settings.py

import os import sys base_dir = os.path.dirname(os.path.dirname(__file__)) sys.path.insert(0, os.path.join(base_dir, 'apps’))

python django

Comments

Popular posts from this blog

c - Compilation of a code: unkown type name string -

java - Bypassing "final local variable defined in an enclosing type" -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -