Django app to add a "position" field to the request, using GeoIP or GPS data given in the request headers
Project description
Django app to add a “position” field to the request, using GeoIP or GPS data given in the request headers. Some references about this:
Quick start
1 Install using pip:
pip install django-belt
2 Add “request_position” to your INSTALLED_APPS settings like this:
INSTALLED_APPS += ('request_position',)
3 Add the middleware:
MIDDLEWARE += ( 'request_position.middleware.RequestPositionMiddleware', )
History
1.0a2 (2017-2-28)
Fixed Django 1.10 compatibility with new middleware.
1.0a1 (2017-2-21)
First release on PyPI.
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
Built Distribution
Close
Hashes for django-request-position-1.0a2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d30ae037231bc5991f1ed3250eccbc47c2d0c4adbbddba0cecfa10e5869fe8 |
|
MD5 | 62e4d7f71ae323eb02147c6d2d918370 |
|
BLAKE2b-256 | 23a7155440841a59b3a59566e5f7d8e8bb1e2c90e0675429a7cba0668dae237d |
Close
Hashes for django_request_position-1.0a2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d624d3de67565e7f157a8eb9d0e9a1e229526b95628b1752678bd864bf0a672c |
|
MD5 | 6978eb38eff023ee3342f075ca99a4a0 |
|
BLAKE2b-256 | e78a2fd3f1f596810d7fbe9b975fec76c40b1fbbbf71fec677aa7b13affbfd44 |