Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

Django Global Log

注册到 installed_apps 中

INSTALLED_APPS = [
    "corsheaders",
    "django_global_log",
    ···
]

添加 middleware

MIDDLEWARE = [
    "corsheaders.middleware.CorsMiddleware",
    "django_global_log.middlewares.DjangoGlobalLogMiddleware",
    ···
]

使用 celery

GLOBAL_LOG_CELERY_FUNC = "async_global_log"

def async_global_log(detail):
    DjangoGlobalLog.objects.create(**detail)

Metadata

Release files for django-global-log 0.0.6

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

Source distribution (sdist)

Source distribution for django-global-log 0.0.6
File Size Uploaded Provenance Actions
django_global_log-0.0.6.tar.gz 5.1 kB Without provenance Details for django_global_log-0.0.6.tar.gz

Release files / django_global_log-0.0.6.tar.gz

Download URL django_global_log-0.0.6.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0c543f2e4c89728cb2b1bf0515409be530b1cbe762d635dc35656d7676afffc5
BLAKE2b-256 checksum
How to use checksums
c04392020e4f7a65e0626ed92b5e4b4d5fa01eae55432e2043386eff80522b99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.4

Security for django-global-log 0.0.6

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.

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