musician only 3 languages
This commit is contained in:
parent
9196674779
commit
1a1e41211b
|
@ -6,6 +6,7 @@ from django.views.generic.base import ContextMixin
|
|||
from orchestra import get_version
|
||||
|
||||
from . import api
|
||||
from .settings import LANGUAGES
|
||||
from .auth import SESSION_KEY_TOKEN
|
||||
|
||||
|
||||
|
@ -29,7 +30,8 @@ class CustomContextMixin(ContextMixin):
|
|||
context.update({
|
||||
'services_menu': services_menu,
|
||||
'version': get_version(),
|
||||
'languages': settings.LANGUAGES,
|
||||
# 'languages': settings.LANGUAGES,
|
||||
'languages': LANGUAGES,
|
||||
})
|
||||
|
||||
return context
|
||||
|
|
|
@ -70,3 +70,9 @@ MUSICIAN_WEBSITES_ENABLE_GROUP_DIRECTIVE = Setting('MUSICIAN_WEBSITES_ENABLE_GRO
|
|||
),
|
||||
help_text="Valid groups: HTTPD, ModSecurity, SSL, SaaS"
|
||||
)
|
||||
|
||||
LANGUAGES = [
|
||||
('en', 'English'),
|
||||
('es', 'Spanish'),
|
||||
('ca', 'Catalan'),
|
||||
]
|
Loading…
Reference in New Issue