Check that the request object has the user attribute by georgedeamont · Pull Request #58 · microsoft/ApplicationInsights-Python · GitHub
Skip to content

Check that the request object has the user attribute#58

Merged
jjjordanmsft merged 1 commit into
microsoft:developfrom
georgedeamont:bugfix/request-user-exception
Oct 13, 2017
Merged

Check that the request object has the user attribute#58
jjjordanmsft merged 1 commit into
microsoft:developfrom
georgedeamont:bugfix/request-user-exception

Conversation

@georgedeamont

Copy link
Copy Markdown

Check that a Django request object has the user attribute. This is necessary if a Django project does not have the auth middleware that sets request.user.

@jjjordanmsft

Copy link
Copy Markdown
Contributor

@jjjordanmsft jjjordanmsft changed the base branch from master to develop October 13, 2017 00:03
@jjjordanmsft jjjordanmsft merged commit 4446f42 into microsoft:develop Oct 13, 2017
@jjjordanmsft

Copy link
Copy Markdown
Contributor

jjjordanmsft added a commit that referenced this pull request Mar 14, 2018
* Check that the request object has the user attribute (#58)

* Fix .travis.yml for automatic releases (#54)

* Fix repo in .travis.yml for auto-releases

* Check for appinsights property in process_response (#62)

* Rev to 0.11.2 (#68)

* WSGIApplication should set operation name and ID per request (#71)

Only currently works as expected for non-threaded handlers, which means some telemetry may get miscorrelated if using threads in uwsgi or similar (uncommon from my understanding).
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.

2 participants