Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server raises exception -- depending on django version #3

Open
igemsoftwareadmin opened this issue Sep 22, 2015 · 1 comment
Open

Comments

@igemsoftwareadmin
Copy link
Member

After successful installation with django 1.6, the server raises an error as soon as the first page is called.

python manage.py runserver 0.0.0.0:8000
Validating models...

0 errors found
September 22, 2015 - 15:26:38
Django version 1.6.1, using settings 'BioDesigner.settings'
Starting development server at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
self.result = application(self.environ, self.start_response)
File "/usr/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 67, in call
return self.application(environ, start_response)
File "/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in call
self.load_middleware()
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 45, in load_middleware
mw_class = import_by_path(middleware_path)
File "/usr/lib/python2.7/dist-packages/django/utils/module_loading.py", line 31, in import_by_path
error_prefix, module_path, class_name))
ImproperlyConfigured: Module "django.contrib.auth.middleware" does not define a "SessionAuthenticationMiddleware" attribute/class

@igemsoftwareadmin
Copy link
Member Author

Actually, this error indicates that I am now using a too old Django version. Django 1.6 doesn't have this particular middleware module yet. You really have to tell developers which django version(s) are currently supported.

@igemsoftwareadmin igemsoftwareadmin changed the title server raises exception server raises exception -- depending on django version Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant