bug correction when trying to create a content with a stream media
authorrougeronj
Wed, 26 Sep 2012 12:11:56 +0200
changeset 802 a18b5556b180
parent 801 cdcb93282637
child 803 9bac1bd2be4b
bug correction when trying to create a content with a stream media
src/ldt/ldt/ldt_utils/views/content.py
--- a/src/ldt/ldt/ldt_utils/views/content.py	Tue Sep 25 18:06:40 2012 +0200
+++ b/src/ldt/ldt/ldt_utils/views/content.py	Wed Sep 26 12:11:56 2012 +0200
@@ -101,6 +101,7 @@
             # see if media must be created
             cleaned_data = {}
             cleaned_data.update(media_form.cleaned_data)
+            cleaned_data.pop("media_public")
             
             media_input_type = content_form.cleaned_data["media_input_type"]