add to settings.py:
import os
import sys
PROJECT_ROOT = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(PROJECT_ROOT, "apps"))
full article:
http://codespatter.com/2009/04/10/how-to-add-locations-to-python-path-for-reusable-django-apps/
On Sep 21, 10:14 pm, justin jools wrote:
> I hav
I have setup 'apps' folder with __init__.py inside and
'registration' app inside 'apps'
I then refer to it with:
'apps.registration' in installed_apps/settings.py
When I run syncdb it gives error:
Error: No module named registration
--
You received this message because you are subscribed to th
2 matches
Mail list logo