skip to navigation
skip to content

molo.profiles 5.0.2

User profiles to be used with Molo.

Latest Version: 5.0.4

Provides code to help with User profiles in a project using the Molo code base.

Note

This library does not provide a Django user model, it provides a profile model that can be attached to a user. Our experience is that custom User models in Django add all sorts of unpleasantries when using migrations.

Installation:

pip install molo.profiles

Django setup:

INSTALLED_APPS = (
   'molo.profiles',
)

If you want to enable user data being sent to a Slack Channel, insert the following:

SLACK_INCOMING_WEBHOOK_URL = '' # URL of slack webhook

CELERYBEAT_SCHEDULE = {
    # Executes every morning at 8:00 A.M GMT+2
    'add-every-morning': {
        'task': 'molo.profiles.task.send_user_data_to_slack',
        'schedule': crontab(hour=8)
    },
}
 
File Type Py Version Uploaded on Size
molo.profiles-5.0.2.tar.gz (md5) Source 2017-04-21 30KB