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

Add configuration to log user in request finished to support DRF auth #38

Merged
merged 1 commit into from
Jun 16, 2020

Conversation

jrobichaud
Copy link
Owner

Closes #37

@codecov
Copy link

codecov bot commented Jun 16, 2020

Codecov Report

Merging #38 into master will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #38   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           40        40           
  Lines          940      1008   +68     
=========================================
+ Hits           940      1008   +68     
Impacted Files Coverage Δ
django_structlog/middlewares/request.py 100.00% <100.00%> (ø)
test_app/tests/middlewares/test_request.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 745d2c0...48db9b2. Read the comment docs.

@jrobichaud jrobichaud merged commit 056f658 into master Jun 16, 2020
@jrobichaud jrobichaud deleted the drf-user-log branch June 16, 2020 01:04
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 this pull request may close these issues.

user_id always None for DRF requests when using RequestMiddleware
1 participant