Skip to main content

django-googlemap is a simple Django app to show the google map from ip addresses.

Detailed documentation is in the “docs” directory.

Quick start

  1. Install django-googlemap:

    pip install django-googlemap
  2. Add “django-googlemap” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
        ...
        'googlemap',
    )
  3. Add urls.py:

    urlpatterns = patterns('',
        ...
        url(r'^googlemap/', include('googlemap.urls')),
    )
  1. In your template html:

    {% load gmap_tags %}
    
    <!--
        <ip_list> is a list of ip addresses
        <width> default is auto
        <height> default is 400px
        <show_input> default if false
      -->
    {% ip_on_map <ip_List> <width> <height> True %}
  2. Settings(optional):

    # Download maxmind free geo database from http://dev.maxmind.com/geoip/legacy/geolite/
    
    MAXMIND_CITY_DB_PATH = 'Your data file path'

Metadata

Release files for django-googlemap 0.5

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-googlemap 0.5
File Size Uploaded
django-googlemap-0.5.tar.gz 10.6 MB Details

Release files / django-googlemap-0.5.tar.gz

Download URL django-googlemap-0.5.tar.gz
Size 10.6 MB
Tags Source
SHA-256 checksum
How to use checksums
720ab10a6c7a4a1f4dc3962dac43a0b6b04bf6d86b2cb60c4d0a3f168e5c9593
BLAKE2b-256 checksum
How to use checksums
f39d70610df68ec2ab6880a563f2a47145b2a16048da4d55a2a447bef0e9be18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.5 This release

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

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