Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
A prog2-höz tartozó friss repo anyagok itt elérhetőek:
https://git.iit.bme.hu/
Commit
e3348ce6
authored
Apr 07, 2014
by
Kálmán Viktor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
circle: set available languages
parent
6554ddff
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
+8
-1
circle/circle/settings/base.py
+8
-1
No files found.
circle/circle/settings/base.py
View file @
e3348ce6
...
...
@@ -5,6 +5,7 @@ from os.path import abspath, basename, dirname, join, normpath, isfile
from
sys
import
path
from
django.core.exceptions
import
ImproperlyConfigured
from
django.utils.translation
import
ugettext_lazy
as
_
from
json
import
loads
...
...
@@ -93,7 +94,13 @@ except:
TIME_ZONE
=
get_env_variable
(
'DJANGO_TIME_ZONE'
,
default
=
systz
)
# See: https://docs.djangoproject.com/en/dev/ref/settings/#language-code
LANGUAGE_CODE
=
'en-us'
LANGUAGE_CODE
=
'en'
# https://docs.djangoproject.com/en/dev/ref/settings/#languages
LANGUAGES
=
(
(
'en'
,
_
(
'English'
)),
(
'hu'
,
_
(
'Hungarian'
)),
)
# See: https://docs.djangoproject.com/en/dev/ref/settings/#site-id
SITE_ID
=
1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment