django-no-last-login
=====
This is a extremely simple way to disable Django's behavior of updating a user last_login field on login.
You could use this to connect a Django app to a read-only database, such as a replica, and still having a more or less functional application.
Quick start
-----------
1. Add "nolastlogin" to your INSTALLED_APPS setting like this:
::
INSTALLED_APPS = [
...
'nolastlogin',
]
2. Add this to the settings:
::
NO_UPDATE_LAST_LOGIN = True
Metadata
Release files for django-no-last-login 0.1.0
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 | |
|---|---|---|---|---|
| django-no-last-login-0.1.0.tar.gz | 2.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_no_last_login-0.1.0-py2-none-any.whl | Python 2 | none | any | Details |
Total release size: 6.2 kB
Release files / django-no-last-login-0.1.0.tar.gz
| Download URL | django-no-last-login-0.1.0.tar.gz |
|---|---|
| Size | 2.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
53258e6c053f231cc3065cfad0c5c7b265b8e3d4fce35b2fd31e915470779e5c
|
|
BLAKE2b-256 checksum How to use checksums |
330748a4366cda27d1d16e938ff14a2b3d54828ddb0cc213b05dbe95b623e970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / django_no_last_login-0.1.0-py2-none-any.whl
| Download URL | django_no_last_login-0.1.0-py2-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
10869c2ca06f2de973a5852f129ea8024ef8aafe2ea09b3e46f88c253c04fd2d
|
|
BLAKE2b-256 checksum How to use checksums |
e00c83a9151184f845bb9679398723776b3e0425bc41b3d41b9c7b5a089941d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for django-no-last-login 0.1.0
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.