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
c4ed82b1
Commit
c4ed82b1
authored
Aug 29, 2013
by
root
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'select' of
https://github.com/Man2Life/edx-platform
into select
parents
d00e7d9c
a13cea73
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
18 deletions
+17
-18
common/djangoapps/student/models.py
+17
-18
No files found.
common/djangoapps/student/models.py
View file @
c4ed82b1
...
@@ -107,13 +107,12 @@ class UserProfile(models.Model):
...
@@ -107,13 +107,12 @@ class UserProfile(models.Model):
blank
=
True
,
null
=
True
,
max_length
=
6
,
db_index
=
True
,
blank
=
True
,
null
=
True
,
max_length
=
6
,
db_index
=
True
,
choices
=
LEVEL_OF_EDUCATION_CHOICES
choices
=
LEVEL_OF_EDUCATION_CHOICES
)
)
education_place
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
255
,
db_index
=
False
)
education_place
=
models
.
CharField
(
blank
=
False
,
null
=
True
,
max_length
=
255
,
db_index
=
False
)
education_year
=
models
.
IntegerField
(
blank
=
False
,
null
=
True
,
db_index
=
True
)
education_year
=
models
.
IntegerField
(
blank
=
False
,
null
=
True
,
db_index
=
True
)
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