Configure¶
Settings¶
- Configure django-cms
- Add
cmsplugin_googleplus
and'django.contrib.humanize'
to theINSTALLED_APPS
list in your project’ssettings.py
.
Cache¶
The activities are cached so you need to:
(Optional) Decide the activities cache duration. Default is 5 minutes. Inside
settings.py
add:GOOGLEPLUS_PLUGIN_CACHE_DURATION = <custom_cache_duration>
Google¶
- Go to the google apis console and create a new project or select an existent one (a google account is required)
- Select APIs under APIs & Auth and activate Google+ API
- Select Credentials and Create new Key (Browser key)
- Add the API key to your plugin instance:
The actual ‘Courtesy Limit’ for the Google+ API is 10,000 requests/day