Accounts module is responsible for extending the :py:class:`django.contrib.auth.models.User` model. It provides a :class:`trapper.apps.accounts.models.UserProfile` model which extends some basic user functionality.
.. automodule:: trapper.apps.accounts.models :members:
.. automodule:: trapper.apps.accounts.views :members:
.. automodule:: trapper.apps.accounts.forms :members:
Purpose of storage module is uploading and storing various media resources. In most cases this will be video files, images or audio files, but any type of file can be uploaded and stored. It is often used by other applications (e.g. :mod:`trapper.apps.media_classification`) to display media resources.
.. automodule:: trapper.apps.storage.models :members:
.. automodule:: trapper.apps.storage.views :members:
.. automodule:: trapper.apps.storage.forms :members:
Media classification module is at the moment one of the core features of Trapper. This module allows for the classification of media resources (:ref:`trapper.apps.storage`) within the context defined in :class:`trapper.apps.media_classification.models.Project` objects.
Note
It is worth noting how the classification is handled in the backend:
Single Classification
is split into
rows, each containing an indentical set of features. Each ClassificationRow
is again split into a set of states of the Feature model, namely an instance of model FeatureAnswer
See models for more details:
.. automodule:: trapper.apps.media_classification.models :members:
.. automodule:: trapper.apps.media_classification.views :members:
.. automodule:: trapper.apps.media_classification.forms :members:
.. automodule:: trapper.apps.media_classification.decorators :members:
Module :ref:`trapper.apps.messaging` serves as a simple notification system as well as an internal e-mail functionality between the users.
.. automodule:: trapper.apps.messaging.models :members:
.. automodule:: trapper.apps.messaging.views :members:
.. automodule:: trapper.apps.messaging.forms :members:
Module :ref:`trapper.apps.geomap` uses geospatial information about resources stored by :ref:`trapper.apps.storage` to present it on the map.
.. automodule:: trapper.apps.geomap.models :members:
.. automodule:: trapper.apps.geomap.views :members:
.. automodule:: trapper.apps.geomap.forms :members:
Module :ref:`trapper.apps.common` servers as a place for a general-purpose functions or decorators, not associated with any of the applications above.
.. automodule:: trapper.apps.common.decorators :members: