views.py

Class based view definitions for showing information and submitting feedback

Class definitions:

class apps.information.views.BaseInformationPageView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

Basic view for information based template views accepts a list of templates and picks the correct template based on the page parameter

class apps.information.views.InformationPageView(**kwargs)[source]

Bases: apps.information.views.BaseInformationPageView

Information page view class, used for displaying all kinds of information in Remote Care

class apps.information.views.AboutSecurityView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

Shows a page with information about security

class apps.information.views.InformationFeedBack(**kwargs)[source]

Bases: django.views.generic.edit.FormView

Feedback form class, e-mails feedback to info@example.com

form_class

alias of FeedBackAddEditForm

send_feedback_email(email_content)[source]

Sent a feedback email to info@example.com by default

form_valid(form)[source]

Sent feedback and redirect user

class apps.information.views.InformationFeedbackSentView(**kwargs)[source]

Bases: django.views.generic.base.TemplateView

Shows a feedback has been succesfully sent page