On May 28, 8:35 am, Chris Seberino <cseber...@gmail.com> wrote: > On May 27, 10:51 am, Nuno Maltez <nuno.li...@gmail.com> wrote: > > > > ImportError: No module named mvc > > > What's the "mvc" module? Python can't seem to find it. Is it in your > > python path? > > My project is called seoconquer. > My app is called mvc. > My absolute directory path to mvc is /home/seb/MAIN/seoconquer/mvc. > > I have /home/seb/MAIN added to path in the wsgi file. (See above.)
You also need to add '/home/seb/MAIN/seoconquer'. Read: http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html The __init__.py file in 'apache' subdirectory where WSGI script file is not needed and will not do anything. Graham > I'm trying to load the mvc app in my settings file with INSTALLED_APPS > = (...., "seoconquer.mvc") > > Here is my settings.py.. > > # Contains the configuration settings. > > import os > > DEBUG = True > > DATABASE_NAME = "seoconquer" > DATABASE_USER = "seb" > DATABASE_ENGINE = "django.db.backends.mysql" > TEMPLATE_DIRS = ("/home/seb/MAIN/seoconquer/mvc/views",) > ROOT_URLCONF = DATABASE_NAME + "." + "urls" > LOGIN_URL = "sign_in" > INSTALLED_APPS = ("django.contrib.auth", > "django.contrib.contenttypes", > "django.contrib.sessions", > "seoconquer.mvc") > > cs -- 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.