Почистил коменты
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user