6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-09-28 04:09:01 +00:00

Fix non-ascii platform names

There was an issue with non ascii platform names, such as "Курсы". This
is fixed by switching to utf8-encode settings file. That is, until we
switch to python3.

Close #270
This commit is contained in:
Régis Behmo 2019-12-05 12:04:27 +01:00
parent 302e1fc986
commit afab59e17d
5 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from cms.envs.devstack import *

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from cms.envs.production import *

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from lms.envs.devstack import *

View File

@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
import os
from lms.envs.production import *

View File

@ -3,7 +3,7 @@
######## Common CMS settings
STUDIO_NAME = "{{ PLATFORM_NAME }} - Studio"
STUDIO_NAME = u"{{ PLATFORM_NAME }} - Studio"
# Create folders if necessary
for folder in [LOG_DIR, MEDIA_ROOT, STATIC_ROOT_BASE]: