Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.0a3 (2017-2-28)

  • Fixed problem with missing header.

1.0a2 (2017-2-28)

  • Fixed Django 1.10 compatibility with new middleware.

1.0a1 (2017-2-21)

  • First release on PyPI.

Release files for django-request-position 1.0a3

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-request-position 1.0a3
File Size Uploaded
django-request-position-1.0a3.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-request-position 1.0a3
File Interpreter ABI Platform
django_request_position-1.0a3-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 11.1 kB

Release files / django-request-position-1.0a3.tar.gz

Download URL django-request-position-1.0a3.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
234e9eee68975d8a271dca91429dbdfcf946b4b5c847b363a37295547eee9455
BLAKE2b-256 checksum
How to use checksums
516809e2999514612c55d97d06a71c56710529816ba5b7b5b24355720c724ca4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / django_request_position-1.0a3-py2.py3-none-any.whl

Download URL django_request_position-1.0a3-py2.py3-none-any.whl
Size 6.5 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5fc41cc511a0ebad810f9f3d7f3396b82445f8d5e744d6e8e3afd749b3270c32
BLAKE2b-256 checksum
How to use checksums
63168bdba170c29c46690dab3d75e56fa3a5d3c6c33701e152db89d16bf9c62f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
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