From: Guillaumme Pellerin Date: Tue, 5 Feb 2019 00:22:44 +0000 (+0100) Subject: fix media upload dir, remove notes X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=89f455215266bc209fd938770a48215edb0eb97a;p=teleforma.git fix media upload dir, remove notes --- diff --git a/app/settings.py b/app/settings.py index 0ef15a16..cbcce9ff 100644 --- a/app/settings.py +++ b/app/settings.py @@ -140,7 +140,7 @@ INSTALLED_APPS = ( 'postman', # 'private_files', #'markup_mixin', - 'notes', + #'notes', # 'jquery', 'timezones', 'jqchat', @@ -197,6 +197,8 @@ TELEFORMA_EXAM_MAX_SESSIONS = 15 TELEFORMA_EXAM_SCRIPT_MAX_SIZE = 20480000 TELEFORMA_EXAM_SCRIPT_SERVICE_URL = '/webviewer/teleforma.html' +FILE_UPLOAD_TEMP_DIR = '/srv/media/tmp' + TELECASTER_LIVE_STREAMING_SERVER = 'stream.parisson.com' TELECASTER_LIVE_STREAMING_PORT = 443 diff --git a/teleforma/forms.py b/teleforma/forms.py index 2e25878a..4c53cab8 100644 --- a/teleforma/forms.py +++ b/teleforma/forms.py @@ -17,6 +17,7 @@ class ConferenceForm(ModelForm): class Meta: model = Conference + exclude = [] class UserForm(ModelForm): @@ -129,4 +130,4 @@ class WriteForm(PostmanWriteForm): course.save() recipients = [professor.user,] - return recipients \ No newline at end of file + return recipients