Hi,
 
I run off the SVN version of Django - updated to the latest version this morning and get the following when I run a project that was working fine last week (think I was at revision 3200 last week and am at 3206 today)
 
[EMAIL PROTECTED]:~/django_projects/syweb$ ./manage.py runserver 0.0.0.0:8000
Validating models...
Skipping validation because things aren't configured properly.
Django version 0.95 (post-magic-removal), using settings 'syweb.settings'
Development server is running at
http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/django/core/servers/basehttp.py", line 272, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/lib/python2.3/site-packages/django/core/servers/basehttp.py", line 615, in __call__
    return self.application(environ, start_response)
  File "/usr/lib/python2.3/site-packages/django/core/handlers/wsgi.py", 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_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.RequestUserMiddleWare into my MIDDLEWARE_CLASSES but this didn't help.
 
If I then do a Ctrl-F5 in Firefox I get the following traceback regarding WSGI
 
 Traceback (most recent call last):
File "/usr/lib/python2.3/site-packages/django/core/handlers/base.py" in get_response
  74. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.3/site-packages/django/template/context.py" in __init__
  97. self.update(processor(request))
File "/usr/lib/python2.3/site-packages/django/core/context_processors.py" in auth
  17. return {

  AttributeError at /accounts/
  'WSGIRequest' object has no attribute 'user'
 
Anyone else seeing this or know what the problem is?
 
Cheers
 

Kevin Fullerton

 

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to