1. Konstantinos Metaxas
  2. genmap

Wiki

Clone wiki

genmap / Extra_settings

Extra settings

You can put your extra settings into local_settings.py.

COMMUNITY

Set basic information about the thing you worship so much, that you installed this software.

Example

COMMUNITY = {
    'name': 'Gentoo',
    'website': 'http://www.gentoo.org/',
}

GOOGLE_ANALYTICS_CODE

If you want to use Google Analytics, set your code with this variable.

Example

GOOGLE_ANALYTICS_CODE = 'UA-123456789-0'

GOOGLE_MAPS_API_KEY

Set your Google Maps API key.

Example

GOOGLE_MAPS_API_KEY = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_123456789'

GRAVATAR

Default: False

Set this to True if you want Gravatar support. Also you have to set MEDIA_URL to an absolute URL or the fallback (default) Avatar won't work.

Example

GRAVATAR = True
MEDIA_URL = 'http://media.gentoo-users.org/'

Updated