Merge pull request #705 from normanjaeckel/ChangeMotionDefaultNumbering

Motion: Change default numbering method
This commit is contained in:
Emanuel Schütze 2013-06-03 13:35:34 -07:00
commit d615c63eb1

View File

@ -104,14 +104,14 @@ def setup_motion_config_page(sender, **kwargs):
choices=[(workflow.pk, ugettext_lazy(workflow.name)) for workflow in Workflow.objects.all()]))
motion_identifier = ConfigVariable(
name='motion_identifier',
default_value='serially_numbered',
default_value='per_category',
form_field=forms.ChoiceField(
widget=forms.Select(),
required=True,
label=ugettext_lazy('Identifier'),
choices=[
('serially_numbered', ugettext_lazy('Serially numbered')),
('per_category', ugettext_lazy('Numbered per category')),
('serially_numbered', ugettext_lazy('Serially numbered')),
('manually', ugettext_lazy('Set it manually'))]))
return ConfigPage(title=ugettext_noop('Motion'),