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

Delphi change the assembly code of a running process -

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

C++ 11 "class" keyword -