Skip to content
This repository was archived by the owner on Nov 16, 2018. It is now read-only.
This repository was archived by the owner on Nov 16, 2018. It is now read-only.

Django Middleware #7

@mwoya

Description

@mwoya

Following your code, I got some error when implementing JWT middleware.
after inserting

backend.middleware.JWTMiddleware',

The issue is my middleware is
MIDDLEWARE = [
[...]
'backend.middleware.JWTMiddleware',
[...]

I found that MIDDLEWARE is the newer version and is not compatible with your code.
the solution is to change my setting into MIDDLEWARE_CLASSES.

I'm new in programming, I don't know if this information is useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions