openedx / course-discovery

Service providing access to consolidated course and program metadata
https://edx-discovery.readthedocs.io/en/latest/
GNU Affero General Public License v3.0
57 stars 171 forks source link

fix: use correct request type in anon throttle mixin #4306

Closed DawoudSheraz closed 5 months ago

DawoudSheraz commented 6 months ago

PROD-3994

Description

Moves request_initialization at start of dispatch so that WSGIRequest --> DRFRequest conversion can take place and request.user does DRF authentication

Testing