|
|
@ -1162,12 +1162,12 @@ def resitelEditView(request): |
|
|
|
form = PoMaturiteProfileEditForm(POST) |
|
|
|
else: |
|
|
|
form = ProfileEditForm(POST) |
|
|
|
form_hash = hash(frozenset(form.items())) |
|
|
|
form_logger = logging.getLogger('seminar.prihlaska.form') |
|
|
|
form_logger.info("EDIT:" + str(form) + str(form_hash)) # TODO možná logovat jinak |
|
|
|
if form.is_valid(): |
|
|
|
## Změny v osobě |
|
|
|
fcd = form.cleaned_data |
|
|
|
form_hash = hash(frozenset(fcd.items())) |
|
|
|
form_logger = logging.getLogger('seminar.prihlaska.form') |
|
|
|
form_logger.info("EDIT:" + str(fcd) + str(form_hash)) # TODO možná logovat jinak |
|
|
|
osoba_edit.jmeno = fcd['jmeno'] |
|
|
|
osoba_edit.prijmeni = fcd['prijmeni'] |
|
|
|
osoba_edit.pohlavi_muz = fcd['pohlavi_muz'] |
|
|
|