"""This module holds the django admin models for the ``trainings`` app."""

from django.contrib import admin

from .models import (
    CurrentSession,
    Training,
    TrainingSession,
)


class ActionAdmin(admin.ModelAdmin):
    """Django admin model for the ``Action`` model."""

    list_display = ('training', 'user', 'action', 'module', 'module_id', 'external_id')


admin.site.register(Training)
admin.site.register(TrainingSession)
admin.site.register(CurrentSession)

