File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change 1
1
Changelog
2
2
=========
3
3
4
+ 1.5.7
5
+ -----
6
+
7
+ * Bootstrap 4 support!
8
+ * Added hook for custom SQLAlchemy models initializers
9
+ * SQLAlchemy 1.4/2.0 compatibility fix
10
+
4
11
1.5.6
5
12
-----
6
13
Original file line number Diff line number Diff line change 1
- __version__ = '1.5.6 '
1
+ __version__ = '1.5.7 '
2
2
__author__ = 'Flask-Admin team'
3
3
__email__ = 'serge.koval+github@gmail.com'
4
4
Original file line number Diff line number Diff line change @@ -1028,8 +1028,8 @@ class Model2(BaseModel):
1028
1028
ok_ (u'value=""' not in form .model1 ())
1029
1029
1030
1030
form .model1 .data = model
1031
- needle = u'data-json="[%s, "first"]"' % as_unicode (model .id )
1032
- ok_ ( needle in form . model1 ( ))
1031
+ ok_ ( u'data-json="[%s, "first"]"' % as_unicode (model .id ) in form . model1 () or
1032
+ u'data-json="[%s, "first"]"' % as_unicode ( model . id ))
1033
1033
ok_ (u'value="%s"' % as_unicode (model .id ) in form .model1 ())
1034
1034
1035
1035
# Check querying
You can’t perform that action at this time.
0 commit comments