Files @ 3fb0ce6de10d
Branch filter:

Location: kallithea/docs/api/models.rst

3fb0ce6de10d 632 B text/prs.fallenstein.rst Show Annotation Show as Raw Download as Raw
Mads Kiilerich
celery: replace loader.PylonsSettingsProxy with a simple configuration object

The proxy was quite complex and did all the conversion at runtime, making it
hard to figure out exactly what it was doing.

Instead, just create a simple configuration object as described on
http://docs.celeryproject.org/en/3.1/userguide/application.html and convert all
relevant config settings up front. We don't convert all config settings, but
only the ones Celery seems to be interested in. The value conversion heuristics
are the same as before and still seem quite fragile.
.. _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: