This feature enables youth to share short tips with one another.
Table of Contents
- django >= 1.8
- molo.core >= 5.5.0
- django-secretballot >= 0.7.0
- django-likes >= 1.11
Install or add
django-likesto your Python path.Configure
django-secretballotas described here.Add
likesto yourINSTALLED_APPSsetting.Add likes url include to your project's
urls.pyfile:url(r'^likes/', include('likes.urls', namespace='likes', app_name='likes')),Add
likes.middleware.SecretBallotUserIpUseragentMiddlewareto yourMIDDLEWARE_CLASSESsetting, i.e.:MIDDLEWARE_CLASSES = ( ...other middleware classes... "likes.middleware.SecretBallotUserIpUseragentMiddleware", )Add
django.core.context_processors.requestto yourTEMPLATE_CONTEXT_PROCESSORSsetting, i.e.:TEMPLATE_CONTEXT_PROCESSORS = ( ...other context processors... "django.core.context_processors.request", )
pip install molo.yourtips
Add
molo.yourtipsto yourINSTALLED_APPSsettings.Add yourtips url include to your project's
urls.pyfile:url(r'^yourtips/', include('molo.yourtips.urls', namespace='molo.yourtips')),Create and publish a YourTips page on the CMS. By adding the YourTips page the
- This feature enables youth to share short (twitter length - 140 characters) tips on the platform with one another.
- User submitted tips are curated by content managers and published on the platform.
- Users can interact with published tips by liking each others tips or sharing (requires consent from author) on facebook or twitter.
- By default the homepage banner copy is
Do you have advice you can share with other youth on relationships?. - The homepage banner copy by adding the copy the yourtips settings.