Re: Error importing middleware django.contrib.sessions.middleware

2013-08-14 Thread Kelvin Wong
What version of Django are you running? $ python2.7 -c "import django; print django.VERSION;" Did this ever work before you enabled Memcached? Did you remove the extra CACHES dictionary from settings.py? What was the full traceback from the Django shell? K -- You received this message

Re: Error importing middleware django.contrib.sessions.middleware

2013-08-13 Thread Adam
Thank you so much WongoBongo, Yes I have sync database but now when I run the command again i get this following error (i tried with python2.7 manage.py syncdb and python2.7 manage.py syncdb --settings=settings_mysetting): raise ImproperlyConfigured('ImportError %s: %s' % (app, e.args[0]))

Re: Error importing middleware django.contrib.sessions.middleware

2013-08-13 Thread Kelvin Wong
Did you do this part (from the docs): https://docs.djangoproject.com/en/1.5/topics/http/sessions/#using-database-backed-sessions Using database-backed sessions ... Once you have configured your

Error importing middleware django.contrib.sessions.middleware

2013-08-11 Thread Adam
Hello, I removed *Memcached* from django then i restarted Apache, but I am getting an ImproperlyConfigured error on account of custom middleware: *ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named base" * [error] mod_wsgi (

Re: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named mysite"

2007-02-02 Thread Graham Dumpleton
On Feb 3, 12:12 am, "HenrikG" <[EMAIL PROTECTED]> wrote: > My biggest problem was to get the Location directive right in the > httpd.conf. It now looks like this: > > > SetHandlermod_python > PythonHandler django.core.handlers.modpython > PythonPath "sys.path +

Re: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named mysite"

2007-02-01 Thread wub
Henrik, I've been stuck in a a place like Ron's all morning. I thought I had gotten to a later problem when I started getting Django errors indication that there was 'no module mysite.urls', but I just gave it another try, and I'm back to the mod-python error 'no module named mysite'. I seem

Re: ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "No module named mysite"

2007-02-01 Thread HenrikG
Hi Ron! Try changing '/home/rsie/projects/mysite' to '/home/rsie/projects' and also change SetEnv DJANGO_SETTINGS_MODULE settings to SetEnv DJANGO_SETTINGS_MODULE mysite.settings regards, /Henrik --~--~-~--~~~---~--~~ You received this message because you are

RE: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
@googlegroups.com Subject: Re: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend" On Mon, 2006-06-26 at 11:45 +0100, Kevin Fullerton wrote: > Hi, > > I run off the SVN version of Django - updated to the latest version > this morning and get th

Re: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Malcolm Tredinnick
t;, line > 141, in __call__ > self.load_middleware() > File > "/usr/lib/python2.3/site-packages/django/core/handlers/base.py", line > 31, in load_middleware > raise exceptions.ImproperlyConfigured, 'Error importing middleware > %s: "%s"' % (mw_modul

Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
ed, 'Error importing middleware %s: "%s"' % (mw_module, e)ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"   I found a bug on Trac for something similar, that said to add django.contrib.auth.middleware.RequestUse

Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"

2006-06-26 Thread Kevin Fullerton
ed, 'Error importing middleware %s: "%s"' % (mw_module, e)ImproperlyConfigured: Error importing middleware django.contrib.sessions.middleware: "cannot import name backend"   I found a bug on Trac for something similar, that said to add django.contrib.auth.middleware.RequestUse