stephenmcd/mezzanine — pull request #1172 by wrwrwr (2014-12-06 23:48:20+00:00)
Title: Deleting unused keywords as a manager method

The ``KeywordField.save_form_data()`` method does a bit of maintenance by deleting ``Keyword`` instances that are no longer assigned to anything. Factoring this out lets one do the clean up independently from the form field (*).

(*) And makes it easier to skip it in ``save_form_data()`` (the deleting isn't that convenient if your keyword records hold translations).