Mercurial > kallithea
view docs/api/models.rst @ 5542:1fc8d7e9f3ab
cleanup: replace abort with WebOb exceptions
All abort does is to look up the matching WebOb exception and raising
that; so just raise it directly. WebOb exception names are also more
readable than HTTP error codes. (And finally, don't "return abort",
since abort never returns.)
author | Søren Løvborg <sorenl@unity3d.com> |
---|---|
date | Mon, 07 Sep 2015 15:07:35 +0200 |
parents | 22a3fa3c4254 |
children | cd6c577ade97 |
line wrap: on
line source
.. _models: ======================== The :mod:`models` module ======================== .. automodule:: kallithea.model :members: .. automodule:: kallithea.model.comment :members: .. automodule:: kallithea.model.notification :members: .. automodule:: kallithea.model.permission :members: .. automodule:: kallithea.model.repo_permission :members: .. automodule:: kallithea.model.repo :members: .. automodule:: kallithea.model.repo_group :members: .. automodule:: kallithea.model.scm :members: .. automodule:: kallithea.model.user :members: .. automodule:: kallithea.model.user_group :members: