Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
aa.gusti
/
opensipkd-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 8b4c615b
authored
Jul 29, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Uncomment nip field in PartnerSchema for validation
1 parent
0822c626
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
opensipkd/base/views/partner_base.py
opensipkd/base/views/partner_base.py
View file @
8b4c615
...
@@ -94,11 +94,11 @@ class NamaSchema(colander.Schema):
...
@@ -94,11 +94,11 @@ class NamaSchema(colander.Schema):
class
PartnerSchema
(
NamaSchema
):
class
PartnerSchema
(
NamaSchema
):
#
nip = colander.SchemaNode(
nip
=
colander
.
SchemaNode
(
#
colander.String(),
colander
.
String
(),
#
missing=colander.drop,
missing
=
colander
.
drop
,
#
validator=colander.Length(max=32),
validator
=
colander
.
Length
(
max
=
32
),
#
oid="nip")
oid
=
"nip"
)
# npwp = colander.SchemaNode(
# npwp = colander.SchemaNode(
# colander.String(),
# colander.String(),
# missing=colander.drop,
# missing=colander.drop,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment