mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-11-16 10:05:18 +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:
parent
302e1fc986
commit
afab59e17d
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
from cms.envs.devstack import *
|
from cms.envs.devstack import *
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
from cms.envs.production import *
|
from cms.envs.production import *
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
from lms.envs.devstack import *
|
from lms.envs.devstack import *
|
||||||
|
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
|
# -*- coding: utf-8 -*-
|
||||||
import os
|
import os
|
||||||
from lms.envs.production import *
|
from lms.envs.production import *
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
######## Common CMS settings
|
######## Common CMS settings
|
||||||
|
|
||||||
|
|
||||||
STUDIO_NAME = "{{ PLATFORM_NAME }} - Studio"
|
STUDIO_NAME = u"{{ PLATFORM_NAME }} - Studio"
|
||||||
|
|
||||||
# Create folders if necessary
|
# Create folders if necessary
|
||||||
for folder in [LOG_DIR, MEDIA_ROOT, STATIC_ROOT_BASE]:
|
for folder in [LOG_DIR, MEDIA_ROOT, STATIC_ROOT_BASE]:
|
||||||
|
Loading…
Reference in New Issue
Block a user