Files @ 3105842da68f
Branch filter:

Location: kallithea/docs/api/models.rst

3105842da68f 632 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Thomas De Schampheleire
changelog: use status label directly from c.statuses.get() output

In the changelog template, c.statuses.get() returns a list:
[ str(status), status_lbl, pr_id, pr_repo ]

So to obtain the status label, one can directly use the second element,
rather than using a helper function on the first.
.. _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: