Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

User information is missing when using rest_framework #847

Open
@do3cc

Description

@do3cc

The reason is simple:

https://github.com/getsentry/raven-python/blob/master/raven/contrib/django/client.py#L255

Here raven checks if the request object is of Type Request and rest_framework has its own request object that isn't a subclass of Djangos request object.

Now what do you prefer for a PR to explicitly check for restframework request, or have a duck typing check?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions