Fixed: Changed the environ to ORIGINAL_RECIPIENT

This commit is contained in:
2018-01-17 16:19:48 +01:00
parent afd163298c
commit a2df81d62e
17 changed files with 1297 additions and 994 deletions

View File

@@ -111,7 +111,7 @@ class HanchanForm(SuccessMessageMixin, EventDetailMixin,
class EventHanchanForm(EventDetailMixin, PermissionRequiredMixin,
generic.TemplateView):
"""Display a Formset to add and Edit Hanchans of the specific Event."""
permission_required = 'mahjong_ranking.edit_hanchan'
permission_required = 'mahjong_ranking.add_hanchan'
template_name = 'mahjong_ranking/eventhanchan_form.html'
model=models.Hanchan