I'll often namespace variables in the code to avoid collisions, but this doesn't mean the user needs to see these awkwardly long names.
For example, we might have a newsletter module on a page that has a title field: we might call this newsletter_title
to avoid collision with the page's own title
field.
By using grouping to signify related items, we can leverage the verbose_name
property in Django to shorten this variable name to title
in the UI, and keep it nice and simple for the CMS editor.
This post is part of a series: UX for the CMS user