You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
JSONField sounds good to me. Also other models should use JSONField, for example category to store informations like "meta-description", "browser-title", "link-title"...
OK, I will take care of this today, at least now I would like to avoid constructing a special interface for this - I learned the hard way (by deleting 20k+ LOC from ella that were mostly mine/my decision) that the simplest way is the best by far ;)
let's see how useful it is with just the field and add the methods later only if we find we absolutely need them.
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:
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']}
}
The text was updated successfully, but these errors were encountered: