django-guest-user
A Django app that allows visitors to interact with your site as a guest user without requiring registration.
Largely inspired by django-lazysignup and rewritten for Django 3.1+ and Python 3.7+.
Find the complete documentation on Read the Docs.
Quickstart
-
Install the
django-guest-userpackage -
Add
guest_userto yourINSTALLED_APPSand migrate your database -
Add
guest_user.backends.GuestBackendto yourAUTHENTICATION_BACKENDS -
Include
guest_user.urlsin your URLs -
Decorate your views with
@allow_guest_user:from guest_user.decorators import allow_guest_user @allow_guest_user def my_view(request): assert request.user.is_authenticated return render(request, "my_view.html")
Status
This project is still under development. But thanks to previous work it is largely functional.
I decided to rewrite the project since the original project hasn't seen any larger updates for a few years now. The initial code base was written a long time ago as well.
Metadata
Release files for django-guest-user 0.4.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 | Actions |
|---|---|---|---|---|
| django-guest-user-0.4.0.tar.gz | 13.4 kB | Without provenance | Details for django-guest-user-0.4.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_guest_user-0.4.0-py3-none-any.whl | Python 3 | none | any | Details for django_guest_user-0.4.0-py3-none-any.whl |
Total release size: 32.7 kB
Release files / django-guest-user-0.4.0.tar.gz
| Download URL | django-guest-user-0.4.0.tar.gz |
|---|---|
| Size | 13.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6d7acb91f28f691902a98678963cbd0fde013bd0464d56e9f02097b3dae8d67b
|
|
BLAKE2b-256 checksum How to use checksums |
a93c4267834800742e7344f957cab6727897129bb3bc55694d810ef17b62dea7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Linux/5.10.43.3-microsoft-standard-WSL2
|
Release files / django_guest_user-0.4.0-py3-none-any.whl
| Download URL | django_guest_user-0.4.0-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b93f822e2698ae7c09561972ee300b4974fa4ee540dbde015bc19cbb2a16306c
|
|
BLAKE2b-256 checksum How to use checksums |
24d81e577adb2d2f250147e272d4df105f2077737668e4ca37528d94544a1237
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.11 CPython/3.9.7 Linux/5.10.43.3-microsoft-standard-WSL2
|
Security for django-guest-user 0.4.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.