Skip to main content
django-auth-signals
===================

Simple abstraction layer for django.contrib.auth.signals <https://docs.djangoproject.com/en/dev/ref/contrib/auth/#module-django.contrib.auth.signals>.

Usage
-----
Add `auth_signals_connector` to `INSTALLED_APPS`:
```
INSTALLED_APPS = (
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'auth_signals_connector'
)
```

By defaults, `auth_signals_connector` uses `auth_signals_connector.connector`
logger to log about 'login', 'logout' and 'login failed' actions.

You could change default behaviour in your `settings.py`:
```
AUTH_SIGNALS = {
'use_defaults': True,
'on_logged_in': some_login_func,
'on_logged_out': some_logout_func,
'on_login_failed': some_loginfail_func,
}
```

If `use_defaults` is `True`, default log handlers will be used too.

Metadata

Release files for auth-signals-connector 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auth-signals-connector 0.1.0
File Size Uploaded Provenance
auth-signals-connector-0.1.0.tar.gz 3.0 kB Without provenance Details

Release files / auth-signals-connector-0.1.0.tar.gz

Download URL auth-signals-connector-0.1.0.tar.gz
Size 3.0 kB
Tags Source
SHA-256 checksum
How to use checksums
72167bcf42f297fb836764f8ff6d7023fb1bf794c1376b0e5d58cf457efea757
BLAKE2b-256 checksum
How to use checksums
0c8f3ba6f258a523571ab907afd9071bba76b20b04ad569fa03e807e63b0b8f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for auth-signals-connector 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page