Почистил коменты

This commit is contained in:
2026-02-22 12:37:22 +05:00
parent f042c1669e
commit 24712588f8
5 changed files with 6 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ class AutoCreateView(CreateView):
model = Auto
form_class = AutoForm
template_name = 'autoapp/add_auto.html'
success_url = reverse_lazy('auto_list') # или другая страница
success_url = reverse_lazy('auto_list')
def form_valid(self, form):
response = super().form_valid(form)