1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2025-07-05 18:03:57 +02:00

Fix some front bug

This commit is contained in:
Alexandre Iooss
2019-08-11 10:49:04 +02:00
parent 861279d30d
commit 79cd008260
6 changed files with 55 additions and 16 deletions

View File

@ -33,10 +33,9 @@ class MediaAdminForm(ModelForm):
data = data['ISBN:' + isbn]
# Fill the data
# TODO implement authors
# TODO implement authors, side_identifier
if data['title']:
self.cleaned_data['title'] = data['title']
self.cleaned_data['side_title'] = data['title']
if data['subtitle']:
self.cleaned_data['subtitle'] = data['subtitle']
if data['url']: