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 <justinjo...@gmail.com> wrote:
> 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 the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to