X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/6cc5df1faff7c600d0cf4b4174621eca99e86354..ae60b2a3949e96357477cc04f90fd0873cee8a92:/apps/suggest/views.py diff --git a/apps/suggest/views.py b/apps/suggest/views.py deleted file mode 100644 index 15b65f24d..000000000 --- a/apps/suggest/views.py +++ /dev/null @@ -1,23 +0,0 @@ -# -*- coding: utf-8 -*- -# This file is part of Wolnelektury, licensed under GNU Affero GPLv3 or later. -# Copyright © Fundacja Nowoczesna Polska. See NOTICE for more information. -# -from django.utils.translation import ugettext_lazy as _ - -from ajaxable.utils import AjaxableFormView -from suggest import forms -from suggest.models import Suggestion, PublishingSuggestion - - -class PublishingSuggestionFormView(AjaxableFormView): - form_class = forms.PublishingSuggestForm - title = _('Report a bug or suggestion') - template = "publishing_suggest.html" - success_message = _('Report was sent successfully.') - - -class SuggestionFormView(AjaxableFormView): - form_class = forms.SuggestForm - title = _('Report a bug or suggestion') - submit = _('Send report') - success_message = _('Report was sent successfully.')