Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DjangoDebugMiddleware is not working with Django 1.10

See original GitHub issue

When I use graphene_django.debug.DjangoDebugMiddleware middleware, I have this error TypeError: object() takes no parameters. graphene-django doesn’t support Django 1.10?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

Grmiadecommented, Nov 4, 2016

My fault … 😕 I added graphene_django.debug.DjangoDebugMiddleware in the MIDDLEWARE constant instead of GRAPHENE constant. Sorry for that.

Grmiadecommented, Nov 4, 2016

I always have this error 😕 TypeError: object() takes no parameters with Django 1.10.3 capture d ecran 2016-11-04 a 15 29 53

Read more comments on GitHub >

github_iconTop Results From Across the Web

Django 1.10 or later: base.html override not working
1 Answer 1 ... The order of INSTALLED_APPS affects the override order. If you have templates/admin/base.html in the ratonix app, then ratonix must ......
Read more >
Django Debug Middleware - Graphene-Python
DjangoDebugMiddleware into MIDDLEWARE in the GRAPHENE settings. Add the debug field into the schema root Query with the value graphene.Field(DjangoDebug ...
Read more >
Middleware - Django documentation
Middleware is a framework of hooks into Django's request/response processing. It's a light, low-level “plugin” system for globally altering Django's input ...
Read more >
Settings - Django documentation
The age of CSRF cookies, in seconds. The reason for setting a long-lived expiration time is to avoid problems in the case of...
Read more >
Django's cache framework
If the format of cached data is different between servers, this can lead to some very hard to diagnose problems. To prevent this,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found