Commit b235a8da by aa.gusti

Migrasi ke colander deform sqlalchemy terbaru

1 parent 915e5068
4.0.0 09-07-2024
Perubahan Colander>2.0
Perubahan SQLAlchemy>2.0
beaker>=1.12.1
3.0.2 13-07-2023
Perubahan Colander>2.0
Perubahan SQLAlchemy>2.0
beaker>=1.12.1
Ini sepertinya gak jadi
3.0.1 25-04-2022
Penambahan Feature ```detable```
......
......@@ -2,7 +2,7 @@ import json
import logging
from colander import SchemaNode, null, Mapping, Invalid # , string_types
from colander import compat
# from colander import compat # tidak ada di colander 2.0
from deform import widget
from deform.form import Button
from deform.i18n import _
......@@ -709,7 +709,8 @@ class TextInputWidget(widget.TextInputWidget):
def __init__(self, **kw):
super(TextInputWidget, self).__init__(**kw)
if isinstance(self.button, compat.string_types):
# if isinstance(self.button, compat.string_types):
if isinstance(self.button, str):
self.button = Button(self.button, type="button")
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!