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 6aa589f7
authored
May 21, 2025
by
aa.gustiana@gmail.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
routes dan base_view
1 parent
9641ec91
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletions
development.ini
opensipkd/base/scripts/data/routes.xlsx
opensipkd/base/views/base_views.py
development.ini
View file @
6aa589f
...
...
@@ -61,6 +61,17 @@ pbb_esppt_files = C:\tmp\pbb_esppt_files
pbb_esppt_mirror.url
=
pbb_esppt_bsre.url = bapenda:!&hfZZR6g@https://esign-service.cirebonkab.go.id/api/sign/pdf@3175101408750004:A4gusti08**&%%
mail.host
=
smtp.gmail.com
mail.port
=
465
mail.ssl
=
True
mail.tls
=
True
; mail.port = 587
; mail.ssl = true
; mail.starttls = true
mail.username
=
opensipkd@gmail.com
mail.password
=
ajmyoksxeiprmtyc
mail.sender_name
=
"openSIPKD"
;static_files = %(here)s/../files
;company = Opensipkd
;ibukota = Bekasi
...
...
opensipkd/base/scripts/data/routes.xlsx
View file @
6aa589f
No preview for this file type
opensipkd/base/views/base_views.py
View file @
6aa589f
...
...
@@ -943,7 +943,13 @@ class BaseView(object):
return
f
'Data ID {row.id} sudah dihapus.'
def
before_delete
(
self
,
row
):
pass
"""Digunakan untuk memproses sebelum data dihapus
Args: row (objek): Berupa objek row dari tabel yang akan dihapus datanya.
Returns: Exception: Apabila ada akan menolak pennghapusan data atau gagal
apabila proses ada yang salah
None: Apabila proses berhasil
"""
def
view_delete
(
self
,
**
kwargs
):
request
=
self
.
req
...
...
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