|
@ -1054,7 +1054,6 @@ class NahrajReseniView(LoginRequiredMixin, CreateView): |
|
|
model = s.Reseni |
|
|
model = s.Reseni |
|
|
template_name = 'seminar/profil/nahraj_reseni.html' |
|
|
template_name = 'seminar/profil/nahraj_reseni.html' |
|
|
form_class = f.NahrajReseniForm |
|
|
form_class = f.NahrajReseniForm |
|
|
success_url = '/' |
|
|
|
|
|
|
|
|
|
|
|
def get(self, request, *args, **kwargs): |
|
|
def get(self, request, *args, **kwargs): |
|
|
# Zaříznutí starých řešitelů: |
|
|
# Zaříznutí starých řešitelů: |
|
@ -1121,7 +1120,7 @@ class NahrajReseniView(LoginRequiredMixin, CreateView): |
|
|
recipient_list=list(prijemci), |
|
|
recipient_list=list(prijemci), |
|
|
) |
|
|
) |
|
|
|
|
|
|
|
|
return HttpResponseRedirect(self.get_success_url()) |
|
|
return formularOKView(self.request, text='Řešení úspěšně odevzdáno') |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def prihlaska_log_gdpr_safe(logger, gdpr_logger, msg, form_data): |
|
|
def prihlaska_log_gdpr_safe(logger, gdpr_logger, msg, form_data): |
|
|