stephenmcd/mezzanine — pull request #1171 by wrwrwr (2014-12-06 10:03:49+00:00)
Title: Confirmation prompts without "return"

In ``create_pages``, ``createdb`` and ``collecttemplates`` the user is asked to confirm something (respectively loading initial data, faking initial migrations or overwriting a template). When the user enters "no" / "abort" as the answer the function is returned from. This prevents adding more code at the end of the handler / command.

(In ``create_pages`` updating translation fields is needed after loading initial data, in the ``collecttemplates`` the change allows printing "Copied n templates" after an abort.)