skip to navigation
skip to content

Not Logged In

django-googlemap 0.1

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

Latest Version: 0.5

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. In your template html:

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

    # Download maxmind free geo database from http://dev.maxmind.com/geoip/legacy/geolite/
    
    MAXMIND_CITY_DB_PATH = 'Your data file path'
    
 
File Type Py Version Uploaded on Size
django-googlemap-0.1.tar.gz (md5) Source 2014-05-26 10MB
  • Downloads (All Versions):
  • 5 downloads in the last day
  • 87 downloads in the last week
  • 358 downloads in the last month