Views

class times.views.DeleteSentenceView(**kwargs)[source]

Bases: View

A class-based view for handling the deletion of sentences.

post(request, *args, **kwargs)
class times.views.TimesView(**kwargs)[source]

Bases: View

A 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'