diff --git a/openslides/motion/models.py b/openslides/motion/models.py index e4cf800b4..1c14a35cb 100644 --- a/openslides/motion/models.py +++ b/openslides/motion/models.py @@ -37,10 +37,6 @@ from openslides.agenda.models import Item from .exceptions import MotionError, WorkflowError -# TODO: into the config-tab -config['motion_identifier'] = ('manually', 'per_category', 'serially_numbered')[2] - - class Motion(SlideMixin, models.Model): """The Motion Class. diff --git a/openslides/motion/views.py b/openslides/motion/views.py index d397f8b78..2165e7060 100644 --- a/openslides/motion/views.py +++ b/openslides/motion/views.py @@ -40,6 +40,10 @@ from .forms import (BaseMotionForm, MotionSubmitterMixin, MotionSupporterMixin, from .pdf import motions_to_pdf, motion_to_pdf +# TODO: into the config-tab +config['motion_identifier'] = ('manually', 'per_category', 'serially_numbered')[2] + + class MotionListView(ListView): """View, to list all motions.""" permission_required = 'motion.can_see_motion'