Fakultas Ilmu Komputer UI
Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ppl-fasilkom-ui
2020
PPL-C
DTB-Layanan Fasilitas Publik Penyandang Disabilitas
PoiPoLeGan-PPLapanganTembak-DTB Layanan Fasilitas Publik Penyandang Disabilitas-BE
Commits
ca928525
Commit
ca928525
authored
May 04, 2020
by
M. Abdurrahman
Browse files
[CHORES] create readme for register penyandang disabilitas
parent
092eeb70
Pipeline
#44788
passed with stages
in 6 minutes and 26 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
ca928525
...
...
@@ -206,4 +206,48 @@ It will return a json with key:
*
`jumlah_siswa`
: number of students
*
`status`
: status of the sekolah (swasta, negri, or international)
*
`jenis_sekolah`
: type of sekolah's management (inklusi, segregasi)
*
`akreditasi`
: accreditation
\ No newline at end of file
*
`akreditasi`
: accreditation
### 15. To register penyandang disabilitas:
Make
`POST`
request to API endpoint
`/layanan-khusus/penyandang/register/`
with the following key:
*
`name`
: name
*
`alamat`
: currrent address
*
`tempat_lahir`
: place of birth
*
`tanggal_lahir`
: date of birth (yyyy-mm-dd)
*
`jenis_kelamin`
: sex ("LAKI-LAKI" or "PEREMPUAN")
*
`pendidikan`
: education
*
The options are :
*
SD = "SD"
*
SMP/SLTP = "MP"
*
SMA/SLTA = "MA"
*
Diploma 1 = "D1"
*
Diploma 2 = "D2"
*
Diploma 3 = "D3"
*
Sarjana = "S1"
*
Magister = "S2"
*
Doktor = "S3"
*
Non-Formal/Lainnya = "NF"
*
Tidak Sekolah = "NA"
*
`pekerjaan`
: occupation
*
The options are :
*
Petani = "PT"
*
Buruh = "BR"
*
Pedagang/Wiraswasta = "WS"
*
Jasa = "JS"
*
PNS/TNI/POLRI = "PN"
*
Pensiunan = "SN"
*
Ibu Rumah Tangga = "IR"
*
Pelajar = "PL"
*
Lainnya = "LA"
*
Tidak Bekerja = "NA"
*
`kategori`
: disability type
*
The option are :
*
fisik = "FS"
*
intelektual = "IN"
*
mental = "MN"
*
sensorik = "SN"
*
`no_telp`
: phone number
*
`email`
: email
*
`nama_wali`
: name of parent/guardian
*
`alamat_wali`
: address of parent/guardian
*
`telp_wali`
: phone number of parent/guardian
layanan_khusus/models.py
View file @
ca928525
...
...
@@ -30,7 +30,7 @@ class Sekolah(models.Model):
class
Penyandang
(
models
.
Model
):
JENIS_KELAMIN
=
(
JENIS_KELAMIN
_OPTION
=
(
(
"LAKI-LAKI"
,
"Laki-Laki"
),
(
"PEREMPUAN"
,
"Perempuan"
)
)
...
...
@@ -47,7 +47,7 @@ class Penyandang(models.Model):
(
"NF"
,
"Non-Formal/Lainnya"
),
(
"NA"
,
"Tidak Sekolah"
)
)
PEKERJAAN
=
(
PEKERJAAN
_OPTION
=
(
(
"PT"
,
"Petani"
),
(
"BR"
,
"Buruh"
),
(
"WS"
,
"Pedagang/Wiraswasta"
),
...
...
@@ -71,7 +71,7 @@ class Penyandang(models.Model):
tanggal_lahir
=
models
.
DateField
()
jenis_kelamin
=
models
.
CharField
(
max_length
=
9
,
choices
=
JENIS_KELAMIN
,
choices
=
JENIS_KELAMIN
_OPTION
,
default
=
"LAKI-LAkI"
)
pendidikan
=
models
.
CharField
(
...
...
@@ -81,14 +81,14 @@ class Penyandang(models.Model):
)
pekerjaan
=
models
.
CharField
(
max_length
=
2
,
choices
=
PEKERJAAN
,
choices
=
PEKERJAAN
_OPTION
,
default
=
"NA"
)
kategori
=
models
.
CharField
(
max_length
=
2
,
choices
=
KATEGORI_DISABILITAS
,
default
=
"FS"
)
)
no_telp
=
models
.
CharField
(
max_length
=
16
,
null
=
True
)
email
=
models
.
CharField
(
max_length
=
50
,
null
=
True
)
...
...
Write
Preview
Supports
Markdown
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