This commit is contained in:
Yohann D'ANELLO 2020-02-10 18:18:42 +01:00
parent 0548e34568
commit 47ce447aad
1 changed files with 1 additions and 0 deletions

View File

@ -116,6 +116,7 @@ class MediaAdminForm(ModelForm):
title_normalized = re.sub(r'^LES ', '', title_normalized)
title_normalized = re.sub(r'^L\'', '', title_normalized)
title_normalized = re.sub(r'^THE ', '', title_normalized)
title_normalized = re.sub(r'Œ', 'OE', title_normalized)
side_identifier = "{:.3} {:.3}".format(
author_name,
title_normalized.replace(' ', ''), )