"""Представление для обновление примечания.""" from django.views import generic from ya_note.notes.forms import FormNote from .view_note_base import ViewNoteBase class ViewNoteUpdate(ViewNoteBase, generic.UpdateView): """Редактирование заметки.""" template_name: str = 'notes/form.html' form_class = FormNote