Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
8a78e74e
Commit
8a78e74e
authored
Aug 29, 2013
by
Pavel Yushchenko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added okrug translation
parent
23b75631
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
16 deletions
+15
-16
common/djangoapps/student/models.py
+15
-16
No files found.
common/djangoapps/student/models.py
View file @
8a78e74e
...
@@ -113,7 +113,6 @@ class UserProfile(models.Model):
...
@@ -113,7 +113,6 @@ class UserProfile(models.Model):
education_qualification
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
30
)
education_qualification
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
30
)
education_specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
30
)
education_specialty
=
models
.
CharField
(
blank
=
True
,
null
=
True
,
max_length
=
30
)
WORK_TYPE_CHOICES
=
(
WORK_TYPE_CHOICES
=
(
(
'sch'
,
_
(
"School"
)),
(
'sch'
,
_
(
"School"
)),
(
'lyc'
,
_
(
"Lyceum"
)),
(
'lyc'
,
_
(
"Lyceum"
)),
...
@@ -131,21 +130,21 @@ class UserProfile(models.Model):
...
@@ -131,21 +130,21 @@ class UserProfile(models.Model):
work_name
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
255
,
db_index
=
False
)
work_name
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
255
,
db_index
=
False
)
work_login
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
10
,
db_index
=
False
)
work_login
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
10
,
db_index
=
False
)
WORK_LOCATION_CHOICES
=
(
WORK_LOCATION_CHOICES
=
(
(
'CAO'
,
'Central Administrative Okrug'
),
(
'CAO'
,
_
(
'Central Administrative Okrug'
)
),
(
'EAO'
,
'Eastern Administrative Okrug'
),
(
'EAO'
,
_
(
'Eastern Administrative Okrug'
)
),
(
'WAO'
,
'Western Administrative Okrug'
),
(
'WAO'
,
_
(
'Western Administrative Okrug'
)
),
(
'NAO'
,
'Northern Administrative Okrug'
),
(
'NAO'
,
_
(
'Northern Administrative Okrug'
)
),
(
'NEAO'
,
'North-Eastern Administrative Okrug'
),
(
'NEAO'
,
_
(
'North-Eastern Administrative Okrug'
)
),
(
'NWAO'
,
'North-Western Administrative Okrug'
),
(
'NWAO'
,
_
(
'North-Western Administrative Okrug'
)
),
(
'SWAO'
,
'South-Western Administrative Okrug'
),
(
'SWAO'
,
_
(
'South-Western Administrative Okrug'
)
),
(
'SEAO'
,
'South-Eastern Administrative Okrug'
),
(
'SEAO'
,
_
(
'South-Eastern Administrative Okrug'
)
),
(
'SAO'
,
'Southern Administrative Okrug'
),
(
'SAO'
,
_
(
'Southern Administrative Okrug'
)
),
(
'zel'
,
'Zelenogradsky Administrative Okrug'
),
(
'zel'
,
_
(
'Zelenogradsky Administrative Okrug'
)
),
(
'troi'
,
'Troitsky Administrative Okrug'
),
(
'troi'
,
_
(
'Troitsky Administrative Okrug'
)
),
(
'novo'
,
'Novomoskovsky Administrative Okrug'
),
(
'novo'
,
_
(
'Novomoskovsky Administrative Okrug'
)
),
(
'city'
,
'Territorial units with special status'
),
(
'city'
,
_
(
'Territorial units with special status'
)
),
(
'non'
,
'None'
),
(
'non'
,
_
(
'None'
)
),
(
'other'
,
'Other'
)
(
'other'
,
_
(
'Other'
)
)
)
)
work_location
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
6
,
db_index
=
False
,
choices
=
WORK_LOCATION_CHOICES
)
work_location
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
6
,
db_index
=
False
,
choices
=
WORK_LOCATION_CHOICES
)
WORK_OCCUPATION_CHOICES
=
(
WORK_OCCUPATION_CHOICES
=
(
...
...
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