Introducing cmsplugin-biography

Recently, I've been exploring django CMS to gain an understanding of how to use it to extend the fantastic Django web framework into a content management system that can be easily used by content managers. Overall, I have been incredibly impressed with the CMS and look forward to using it more in the future. Because the CMS is an extension to Django and consequently offers all the benefits of the web framework, it is very easy to integrate various extensions. If a current add-on does not meet a requirement, it is possible to implement custom plugins.

As my current project moves forward, I need to create various plugins for the CMS that allow content managers to refer to various kinds of dynamic, database-driven content. To that end, I've decided to start with an easy project: a plugin for the creation and display of biographies.

cmsplugin-biography is a django CMS plugin that allows the user to create a biography of a person and refer to it within any number of pages. For example, a user may want to create biographies of his company's leadership team and refer to them across a variety of web pages. Instead of having to update a biography's text across multiple locations should something change, he will only need to update the biography once and the change will propagate across the pages on which the biography is located. Furthermore, each instance of the plugin allows the user to provide a "short description" that will override the global description attached to the selected biography. This is useful if, for instance, it is desirable to to provide a summary that links to another page containing the biography's full description.

Creating the plugin didn't take much time and I am relatively pleased with the results. As I begin integrating it into a CMS-powered site over the coming weeks, I'll hopefully determine what features it is missing. Eventually, I'll be comfortable enough with the plugin to release it on PyPI. If you use the plugin and run into any issues or would like a feature added, please leave a comment on the plugin's issues page.

Written on .  Categorized under: 2013.  Tagged as: pythondjangodjango cms.