Skip to main content

django-detect

Installation

pip install django-detect

Usage

# ####### Device、OS #######
# Windows
request.Windows
# Linux
request.Linux
# iMac/iPhone/iPad/iPod
request.iMac
request.iPhone
request.iPad
request.iPod
# PC
request.PC = request.Windows or request.Linux or request.iMac
# iOS
request.iOS = request.iPhone or request.iPad or request.iMac or request.iPod
# Android and Version
request.Android
request.Android.version

# ####### APP #######
# Weixin/Wechat and Version
request.weixin
request.weixin.version
request.wechat
request.wechat.version

Settings.py

# Use `MIDDLEWARE_CLASSES` prior to Django 1.10
MIDDLEWARE = (
    ...
    'detect.middleware.UserAgentDetectionMiddleware',
    ...
)

Metadata

Release files for django-detect 1.0.20

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-detect 1.0.20
File Size Uploaded Provenance Actions
django-detect-1.0.20.tar.gz 3.4 kB Without provenance Details for django-detect-1.0.20.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-detect 1.0.20
File Interpreter ABI Platform Actions
django_detect-1.0.20-py2.py3-none-any.whl Python 2, Python 3 none any Details for django_detect-1.0.20-py2.py3-none-any.whl

Total release size: 7.2 kB

Release files / django-detect-1.0.20.tar.gz

Download URL django-detect-1.0.20.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
af62f8b201090b41da0c8f4e48d4c7c34faa746fa4985e346930d3c4384009b7
BLAKE2b-256 checksum
How to use checksums
014ca9d187b9491a438497c5ded6e12e38683ecda938913781dfd8f361d1e497
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

Release files / django_detect-1.0.20-py2.py3-none-any.whl

Download URL django_detect-1.0.20-py2.py3-none-any.whl
Size 3.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f6d6cf1d6a22d89d88d0079a1fd63f20d951b06ef82a6f3cd573e714d706a589
BLAKE2b-256 checksum
How to use checksums
d5639d1812fb87d58f829baf62cd0b12566a29ea9e0fd68d1053b22ea40afe62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.2

Security for django-detect 1.0.20

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