""" Resource used for import/export training data.

See also
--------
``mtp.apps.import_export.resources.Resource``

"""

from mtp.apps.import_export import resources
from .models import Training


class TrainingResource(resources.Resource):
    """Resource for the ``Training`` model"""

    fields = ()
    fields_to_translate = ('name', 'description')


resources.register(Training, TrainingResource)
