Skip to main content

Django wrapper

Project description


django-ip-com is a django app for WARNING: This is BETA app! See LICENSE.


  • Install: pip install django-ip-api
  • Add ‘ipapi’ to INSTALLED_APPS
  • Add ‘ipapi’.middleware.IPAPIMiddleware to MIDDLEWARE_CLASSES
  • Set IPAPI_ALLOWED_COUNTRIES = [‘your iso-country-code’,]
  • Test on localhost: http://localhost:8000/pl/?__ipapi__=

Project details

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page