On sauve l'événement dès qu'il est récupéré, même sans modification
This commit is contained in:
parent
2b63a79c5d
commit
c0c459a213
@ -704,11 +704,11 @@ msgstr ""
|
||||
|
||||
#: agenda_culturel/views.py:543
|
||||
msgid ""
|
||||
"The event has been successfully extracted, and you can now submit it after "
|
||||
"modifying it if necessary."
|
||||
"The event has been successfully extracted, and you can now modify it if "
|
||||
"necessary"
|
||||
msgstr ""
|
||||
"L'événement a été extrait avec succès, vous pouvez maintenant le soumettre "
|
||||
"après l'avoir modifié au besoin."
|
||||
"L'événement a été extrait avec succès, vous pouvez maintenant le modifier "
|
||||
"au besoin."
|
||||
|
||||
#: agenda_culturel/views.py:559
|
||||
msgid ""
|
||||
|
@ -573,6 +573,7 @@ def import_from_url(request):
|
||||
# TODO: use celery to import the other events
|
||||
|
||||
if event is not None:
|
||||
event.save()
|
||||
form = EventForm(
|
||||
instance=event,
|
||||
is_authenticated=request.user.is_authenticated,
|
||||
@ -580,7 +581,7 @@ def import_from_url(request):
|
||||
messages.success(
|
||||
request,
|
||||
_(
|
||||
"The event has been successfully extracted, and you can now submit it after modifying it if necessary."
|
||||
"The event has been successfully extracted, and you can now modify it if necessary."
|
||||
),
|
||||
)
|
||||
return render(
|
||||
|
Loading…
Reference in New Issue
Block a user