Skip to content

Improve user IP tracking#190

Merged
adamchainz merged 1 commit intomasterfrom
user_ip
Jun 27, 2019
Merged

Improve user IP tracking#190
adamchainz merged 1 commit intomasterfrom
user_ip

Conversation

@adamchainz
Copy link
Copy Markdown
Contributor

  • Inline the RemoteIp class into Django - it was well intentioned but too Django specific since headers work differently on each web framework
  • Extract the common parts of tracking to functions in Django, which adds user_ip and path tracking to Django < 1.10 where it was missing
  • Add user IP tracking on Flask

@adamchainz adamchainz force-pushed the user_ip branch 3 times, most recently from 6935ceb to 12faa09 Compare June 25, 2019 15:13
@adamchainz adamchainz requested a review from dlanderson June 25, 2019 15:30
* Inline the `RemoteIp` class into Django - it was well intentioned but too Django specific since headers work differently on each web framework
* Extract the common parts of tracking to functions in Django, which adds `user_ip` and `path` tracking to Django < 1.10 where it was missing
* Add user IP tracking on Flask
@adamchainz adamchainz merged commit 418bb55 into master Jun 27, 2019
@adamchainz adamchainz deleted the user_ip branch June 27, 2019 15: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.

1 participant