Views¶
- class times.views.DeleteSentenceView(**kwargs)[source]¶
Bases:
ViewA class-based view for handling the deletion of sentences.
- post(request, *args, **kwargs)¶
- class times.views.TimesView(**kwargs)[source]¶
Bases:
ViewA class-based view for handling times-related functionality.
The class has the following attributes:
template_name (str): The name of the template to be rendered.
- get(request, *args, **kwargs)¶
- post(request, *args, **kwargs)¶
- template_name = 'times/times.html'¶