[COM] Make the news visible for non-authenticated user and birthday visible for subriber only

This commit is contained in:
Cyl
2019-08-16 16:59:13 +02:00
parent 38ef13d9b6
commit 9e0c4e70d4
9 changed files with 112 additions and 94 deletions

View File

@ -182,14 +182,6 @@ class InfoMsgEditView(ComEditView):
success_url = reverse_lazy("com:info_edit")
class IndexEditView(ComEditView):
form_class = modelform_factory(
Sith, fields=["index_page"], widgets={"index_page": MarkdownInput}
)
current_tab = "index"
success_url = reverse_lazy("com:index_edit")
class WeekmailDestinationEditView(ComEditView):
fields = ["weekmail_destinations"]
current_tab = "weekmail_destinations"