django-user-visit
Django app for recording daily user visits
Compatibility
This package supports Python 3.12+ and Django 5.2-6.0.
Upgrading from v1 to v2
v2 added three new denormalised fields extracted from the User Agent string - device, os, browser - to make it easier to analyse directly in the database.
If you want to backfill historical data you will need to run the management command
update_user_visit_user_agent_data after the upgrade.
This app consists of middleware to record user visits, and a single UserVisit model to capture
that data.
The principal behind this is not to record every single request made by a user. It is to record each daily visit to a site.
The one additional factor is that it will record a single daily visit per session / device / ip combination. This means that if a user visits a site multiple times from the same location / same device, without logging out, then they will be recorded once. If the same user logs in from a different device, IP address, then they will be recorded again.
The goal is to record unique daily visits per user 'context' ( where context is the location / device combo).
Admin list view:
Admin edit view:
Metadata
Release files for django-user-visit 2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_user_visit-2.3.tar.gz | 8.4 kB | Without provenance | Details for django_user_visit-2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_user_visit-2.3-py3-none-any.whl | Python 3 | none | any | Details for django_user_visit-2.3-py3-none-any.whl |
Total release size: 21.0 kB
Release files / django_user_visit-2.3.tar.gz
| Download URL | django_user_visit-2.3.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aeec4de490d088d3852d7c3d3f6f5aa07bcf5eee3bcfcb89ae01d223efa57565
|
|
BLAKE2b-256 checksum How to use checksums |
ae8edf378326124e027603995e0b50b42d9c1fcad31064996613afa4dc7800c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / django_user_visit-2.3-py3-none-any.whl
| Download URL | django_user_visit-2.3-py3-none-any.whl |
|---|---|
| Size | 12.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
25b7a2f38d257522674d7390e9c02d8f35b30be3431ea978cdc736ceb9f7258b
|
|
BLAKE2b-256 checksum How to use checksums |
45f140b004e68b160eb566102ba70ab4284218a8c9f056844ce9609f44b042c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for django-user-visit 2.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.