{
"info": {
"author": null,
"author_email": null,
"bugtrack_url": null,
"classifiers": [],
"description": "Django User Map\n=================\n\nDjango User Map is a reusable django application for making community user's map. This app relies on the active auth user model and extend that model with OneToOne relationship. Users can add themselves on the map by providing some additional information:\n\n1. Location on the map\n2. Roles (the choices can be configured through setting)\n3. Image, and\n4. Website\n\nRead here for the documentation: www.akbargumbira.com/django-user-map\n\n## Installation\n* Install django-user-map with pip:\n\n```python\npip install django-user-map\n```\n\n* Make sure you have these modules in INSTALLED_APPS of your django project settings.py:\n\n```python\nINSTALLED_APPS = (\n 'django.contrib.gis',\n 'user_map',\n 'leaflet',\n 'bootstrapform',\n 'rest_framework',\n 'rest_framework_gis'\n)\n```\n\n* Include user-map URLconf in your project urls.py with namespace user_map (required) e.g:\n\n```python\nurl(r'^user-map/', include('user_map.urls', namespace='user_map')),\n```\n\n* Configure user map with USER_MAP variable in your project's settings.py or override some templates. See [Configurations](#configurations) section for further information.\n\n* Run ```python manage.py migrate user_map``` to migrate the ```user_map``` \nmodels. \n\n* Visit the URL that you set before to see the apps.\n\n\n## Configurations\nYou can configure Django User Map with one single USER_MAP variable in project's settings.py. The setting below is the default. Add this default to your project's setting and configure the necessary bits that you want to change:\n\n```python \nUSER_MAP = {\n 'project_name': 'Django',\n 'favicon_file': '',\n 'login_view': 'django.contrib.auth.views.login',\n 'marker': {\n # See leaflet icon valid options here:\n # http://leafletjs.com /reference.html#icon-iconurl\n 'iconUrl': 'static/user_map/img/user-icon.png',\n 'shadowUrl': 'static/user_map/img/shadow-icon.png',\n 'iconSize': [19, 32],\n 'shadowSize': [42, 35],\n 'iconAnchor': [10, 0],\n 'shadowAnchor': [12, 0],\n },\n 'leaflet_config': {\n 'TILES': [(\n # The title\n 'MapQuest',\n # Tile's URL\n 'http://otile{s}.mqcdn.com/tiles/1.0.0/osm/{z}/{x}/{y}.png',\n # More valid leaflet option are passed here\n # See here: http://leafletjs.com/reference.html#tilelayer\n {\n 'attribution':\n '\u00a9 OpenStreetMap'\n ' and contributors, under an open license. Tiles Courtesy of '\n 'MapQuest
OpenStreetMap'\n ' and contributors, under an open license. Tiles Courtesy of '\n 'MapQuest
\n The data you enter on this site may be visible to others. We suggest that\n you approximate your physical location to the nearest\n town or major center. Parts of your data will be made available for\n others to download and use. Click the REST API link to see the data that are\n available for public to use.\n\n```\n\nIn the new ```data_privacy.html``` file, copy that and edit the wording yourself. Note that the ```