-
Notifications
You must be signed in to change notification settings - Fork 5
Django middleware and view decorator to detect phones and small-screen devices
License
vkuzma/django-minidetector
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This application is a simple middleware and associated decorator that will add a ".mobile" attribute to your request objects, which, if True, means the requester is coming to you from a mobile phone (cellphone), PDA, or other device that should be considered small screened, or have an underpowered browser, such as games consoles. This mostly works using a list of search strings, though there are a couple of other tricks, like detecting the presence of Opera Mini. The strings are in an easily-parseable text file, and thus can be used for other similar projects. It also includes a pretty extensive list of user agents to test against.
About
Django middleware and view decorator to detect phones and small-screen devices
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published