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 3.0.2 13-07-2023
Perubahan Colander>2.0 Perubahan Colander>2.0
Perubahan SQLAlchemy>2.0 Perubahan SQLAlchemy>2.0
beaker>=1.12.1 beaker>=1.12.1
Ini sepertinya gak jadi
3.0.1 25-04-2022 3.0.1 25-04-2022
Penambahan Feature ```detable``` Penambahan Feature ```detable```
......
...@@ -2,7 +2,7 @@ import json ...@@ -2,7 +2,7 @@ import json
import logging import logging
from colander import SchemaNode, null, Mapping, Invalid # , string_types 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 import widget
from deform.form import Button from deform.form import Button
from deform.i18n import _ from deform.i18n import _
...@@ -709,7 +709,8 @@ class TextInputWidget(widget.TextInputWidget): ...@@ -709,7 +709,8 @@ class TextInputWidget(widget.TextInputWidget):
def __init__(self, **kw): def __init__(self, **kw):
super(TextInputWidget, self).__init__(**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") 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!