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

Error when enabling ExperimentsRetentionMiddleware in Django 1.10 #154

Open
ivanistheone opened this issue Sep 26, 2016 · 3 comments
Open

Comments

@ivanistheone
Copy link

I got this error after adding experiments.middleware.ExperimentsRetentionMiddleware to the MIDDLEWARE key in settings.py on a Django 1.10 site:

Traceback (most recent call last):
    ...
    return WSGIHandler()
  File "...django/core/handlers/wsgi.py", line 153, in __init__ 
    self.load_middleware()
  File "...django/core/handlers/base.py", line 82, in load_middleware
    mw_instance = middleware(handler)
TypeError: object() takes no parameters

seems to be related to https://docs.djangoproject.com/en/1.10/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware

@tysonclugg
Copy link
Contributor

@ivanistheone This should be resolved by 9082477, but that commit hasn't been released yet.

@matclayton Can you make a release please? I'm keen to upgrade. :-)

@ivanistheone
Copy link
Author

@tysonclugg Okay cool. Yes thx for getting rid of the session stuff—I was trying to debug something else, which was totally off topic.

Awesome work last week. It was great to watch you bring this library up to date. Looking forward to revive some projects...

@matclayton
Copy link
Member

matclayton commented May 25, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants