owais / django-simple-activity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django-simple-activity

Models

Simple Activity ships with a Action model that can be used directly.

Using custom models

Setting up custom Action model

In custom_app/models.py

from simple_activity.models import Action as BaseAction

class Action(BaseAction):
   # your custom fields, managers, etc here

In settings.py

SIMPLE_ACTIVITY = {
    'ACTION_MODEL': 'my_app.MyActionModel'
}

About

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 100.0%