-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with hash not being stored in session (#5)
There is an issue with the current version whereby if the UserVisit is saved, but the request hash is not stored in the session, every subsequent request will raise an IntegrityError - as it will try and save another UserVisit. I haven't got to the bottom of why some hashes are not being store properly, but it causes a cascade of warnings. This should fix the cascade, by ensuring that the hash is stored even in the event of an IntegrityError.
- Loading branch information
1 parent
9d9a6cb
commit 7152d84
Showing
5 changed files
with
63 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "django-user-visit" | ||
version = "0.3.2" | ||
version = "0.3.3" | ||
description = "Django app used to track user visits." | ||
license = "MIT" | ||
authors = ["YunoJuno <[email protected]>"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters