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

Django 1.10 middleware issue #30

Closed
kerosive-dev opened this issue Nov 16, 2016 · 1 comment
Closed

Django 1.10 middleware issue #30

kerosive-dev opened this issue Nov 16, 2016 · 1 comment

Comments

@kerosive-dev
Copy link

When trying to install piano-referral on Django 1.10 I am getting the following errors:

TypeError: object() takes no parameters

Traveback:

application = get_wsgi_application()
  File "/path/to/my/env/env/lib/python3.5/site-packages/django/core/wsgi.py", line 14, in get_wsgi_application
    return WSGIHandler()
  File "/path/to/my/env/env/lib/python3.5/site-packages/django/core/handlers/wsgi.py", line 153, in __init__
    self.load_middleware()
  File "/path/to/my/env/env/lib/python3.5/site-packages/django/core/handlers/base.py", line 82, in load_middleware
    mw_instance = middleware(handler)
TypeError: object() takes no parameters
@spot0n
Copy link

spot0n commented Feb 6, 2017

Any updates on how to resolve or get around this?

nschlemm pushed a commit to Supratix/pinax-referrals that referenced this issue Jun 19, 2017
* added simple tests for creating and processing referrals
* fixes pinax#30 through django.utils.deprecation.MiddlewareMixin for now
* avoid TypeError: render_to_string() got an unexpected keyword argument 'context_instance'
* adjusted tox.ini to currently supported python and django versions
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

Successfully merging a pull request may close this issue.

2 participants