rattail.util Module

rattail.util - Various utilies

This module contains somewhat-random things which hope to be useful.

rattail.util.prettify(text)

Returns a “prettified” version of text, which is usually a Pythonic representation of an (singular or plural) entity name. It splits the text into capitalized words, e.g. “purchase_orders” becomes “Purchase Orders”.

Previous topic

rattail.perms Module

Next topic

Rattail Extensions

This Page