Skip to main content
Pre-release

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

About

django-ip-com is a django app for http://ip-api.com/

WARNING: This is BETA app! See LICENSE.

Usage

  • Install: pip install django-ipapi

  • Add ‘ipapi’ to INSTALLED_APPS

  • Add ‘ipapi.middleware.CheckCountryCodeMiddleware’ to MIDDLEWARE_CLASSES

  • Set IPAPI_ALLOWED_COUNTRIES = [‘your iso-country-code’,]

  • Test on localhost: http://localhost:8000/pl/?__ipapi__=208.80.152.201

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-ipapi-0.0.1b1.tar.gz (5.2 kB view details)

Uploaded Source

File details

Details for the file django-ipapi-0.0.1b1.tar.gz.

File metadata

File hashes

Hashes for django-ipapi-0.0.1b1.tar.gz
Algorithm Hash digest
SHA256 2dcc98a377f3f26c007a37fe670949396931bda9552457ff97dda59e94e4e562
MD5 57980a554c8dde0f8d32e897376d53b3
BLAKE2b-256 4ef89e808d5487e9a0a31d7c81a12d1453dc8d1ad620b57b62a761443162207d

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.0.1b1 This release

1 file

0.0.1b0

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