UserAgent Detect
Project description
Installation
pip install django-detect
Usage
# Weixin/Wechat request.weixin request.weixin.version request.wechat request.wechat.version # iPhone/iPad/iPod request.iPhone request.iPad request.iPod # iOS request.iOS = request.iPhone or request.iPad or request.iPod # Android request.Android request.Android.version
Settings.py
MIDDLEWARE_CLASSES = ( ... 'detect.middleware.UserAgentDetectionMiddleware', ... )
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django-detect-1.0.3.tar.gz
(1.9 kB
view details)
Built Distribution
File details
Details for the file django-detect-1.0.3.tar.gz
.
File metadata
- Download URL: django-detect-1.0.3.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5bdd5822eefdcfd6d5c0be98c1ec192ba3d240ebe48721d4a965c942d3317374 |
|
MD5 | 4d6fdb6bd6b47a32bcba434d19371f89 |
|
BLAKE2b-256 | 21ea97380d634e1c141546136cc5bbeb8d53025795bdc1208614477fe3014781 |
File details
Details for the file django_detect-1.0.3-py2.py3-none-any.whl
.
File metadata
- Download URL: django_detect-1.0.3-py2.py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc91ee06e83596d40f5e3bf1e51358f6f945f8a6607b217bba17390bec43f47 |
|
MD5 | 309a14c94763c10719e607f0914d80e1 |
|
BLAKE2b-256 | a1d7ab65d9a59a78b664b897210ec9c7a8716fde700820018f4b5e4201b82089 |