Does the file /home/username/webapps/sms/sms/basic/__init__.py exist? If
not, create it. That file is required for Python to treat the directory as
containing packages.
Zain

On Wed, Apr 22, 2009 at 12:23 AM, Denhuang <dhuan...@gmail.com> wrote:

>
> The project setting files are here /home/username/webapps/sms/sms/
> settings.py
>
> On Apr 21, 10:13 pm, zayatzz <alan.kesselm...@gmail.com> wrote:
> > Shouldnt there be another sms in your pythonpath since there are 2 in
> > file path?
> >
> > Which folder holds your project settings?
> > /home/username/webapps/sms
> > or
> > /home/username/webapps/sms/sms ?
> >
> > Alan
> >
> > On Apr 22, 6:47 am, Denhuang <dhuan...@gmail.com> wrote:
> >
> > > I am getting an error when I type:
> >
> > > [unix]$ python manage.py syncdb
> > > Error: No module named basic
> >
> > > The files are under
> > > /home/username/webapps/sms/sms/basic/profiles/
> >
> > > PythonPath '/home/username/webapps/sms'
> >
> > > INSTALLED_APPS = (
> > >     'django.contrib.auth',
> > >     'django.contrib.contenttypes',
> > >     'django.contrib.sessions',
> > >     'django.contrib.sites',
> > >     'django.contrib.admin',
> > >     'sms.registration',
> > >     'sms.basic.profiles',
> > > )
> >
> > > Anyone have any idea what is wrong? Probably something stupid in my
> > > setup.
> > > Dennis
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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