> you have a file called mirnaweb.py - your path should contain only the > parent directory to your mirnaweb directory. Python is now looking for > settings inside mirnaweb.py
OK, now I changed the setting file into mirna_settings.py to avoid the confusion with the directory name. I also include the new setting file to django.wsgi file and telling the sys.path to append the new PYTHONPATH. I wonder why Python still could not see the modules inside my django project. Also, I tried running the "python manage.py shell" again and it's still looking for the "settings.py". Why is that? Kann On Jun 3, 1:56 pm, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Fri, 2011-06-03 at 04:44 -0700, Kann wrote: > > Below is what I just did. Does this mean that I still have problem > > with my pythonpath? > > yes > > > > > [xxx@lagrange mirnaweb]$ python manage.py > > Error: Can't find the file 'settings.py' in the directory containing > > 'manage.py'. It appears you've customized things. > > You'll have to run django-admin.py, passing it your settings module. > > (If the file settings.py does indeed exist, it's causing an > > ImportError somehow.) > > you have a file called mirnaweb.py - your path should contain only the > parent directory to your mirnaweb directory. Python is now looking for > settings inside mirnaweb.py > -- > regards > KGhttp://lawgon.livejournal.com > Coimbatore LUG roxhttp://ilugcbe.techstud.org/ -- 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.