Skip to content

Conversation

@ticosax
Copy link
Contributor

@ticosax ticosax commented Jun 5, 2020

No description provided.

change_form_template = 'fsm_admin/change_form.html'
default_disallow_transition = not getattr(settings, 'FSM_ADMIN_FORCE_PERMIT', False)
success_message_template = _('%(obj)s successfully set to %(new_state)s')
error_message_template = _('Error! %(obj)s failed to %(transition)s')
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to have a trailing dot here by default (since it is a whole sentence), but this might cause translations to become outdated etc, so maybe better to keep it as before by default.
(However the missing dot would be the only reason to override/customize it for me)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants