ella/ella — Issue #57: Add a generic JSONField to Publishable to store project-specific metadata
Author: HonzaKral
Created: 2012-01-29 05:23:11+00:00
State: open
Labels: cleanup, nice-to-have, proposal

Almost every application I have seen on ella has some need for added flexibility. I propose we add an optional JSONField to Publishable that individual plug-ins and projects can use to store their specific stuff. Some examples:

- store comment count with publishable
- tag lists
- importance
- source information (commercial, licence)
- template used to render
- ....

I also believe some conventions (a two line note in help_text fo the fields sounds enough) should be in place to provide namespaces (for example store your stuff under "app_name", for example:

{
'comments': {'count': 12, 'latest': '20120128'},
'tagging': {'public_tags': ['summer'], 'editorial_tags': ['white bikiny']}
}