Fix a weekmail deleteview, and make some translate fix

This commit is contained in:
Skia
2017-03-27 15:16:01 +02:00
parent b28ce200e6
commit 50413abf76
3 changed files with 7 additions and 6 deletions

View File

@ -347,6 +347,7 @@ class WeekmailArticleDeleteView(CanEditPropMixin, DeleteView):
"""Delete an article"""
model = WeekmailArticle
template_name = 'core/delete_confirm.jinja'
success_url = reverse_lazy('com:weekmail')
pk_url_kwarg = "article_id"