commit
0065452d29
@ -37,10 +37,6 @@ from openslides.agenda.models import Item
|
|||||||
from .exceptions import MotionError, WorkflowError
|
from .exceptions import MotionError, WorkflowError
|
||||||
|
|
||||||
|
|
||||||
# TODO: into the config-tab
|
|
||||||
config['motion_identifier'] = ('manually', 'per_category', 'serially_numbered')[2]
|
|
||||||
|
|
||||||
|
|
||||||
class Motion(SlideMixin, models.Model):
|
class Motion(SlideMixin, models.Model):
|
||||||
"""The Motion Class.
|
"""The Motion Class.
|
||||||
|
|
||||||
|
@ -40,6 +40,10 @@ from .forms import (BaseMotionForm, MotionSubmitterMixin, MotionSupporterMixin,
|
|||||||
from .pdf import motions_to_pdf, motion_to_pdf
|
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):
|
class MotionListView(ListView):
|
||||||
"""View, to list all motions."""
|
"""View, to list all motions."""
|
||||||
permission_required = 'motion.can_see_motion'
|
permission_required = 'motion.can_see_motion'
|
||||||
|
Loading…
Reference in New Issue
Block a user