File tree 7 files changed +43
-4
lines changed
7 files changed +43
-4
lines changed Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this project adheres
6
+ to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
+
8
+ ## [ 0.1.1] - 2022-09-09
9
+
10
+ ---
11
+
12
+ ### Added
13
+
14
+ - Add ` ColorField ` by @jowilf in https://github.com/jowilf/starlette-admin/pull/7
15
+ - AsyncEngine support for SQLAlchemy by @jowilf in https://github.com/jowilf/starlette-admin/pull/8
16
+
17
+
18
+ ** Full Changelog** : https://github.com/jowilf/starlette-admin/compare/0.1.0...0.1.1
Original file line number Diff line number Diff line change
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.0.0/ ) , and this project adheres
6
+ to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
7
+
8
+ ## [ 0.1.1] - 2022-09-09
9
+
10
+ ---
11
+
12
+ ### Added
13
+
14
+ - Add ` ColorField ` in [ #7 ] ( https://github.com/jowilf/starlette-admin/pull/7 )
15
+ - AsyncEngine support for SQLAlchemy in [ #8 ] ( https://github.com/jowilf/starlette-admin/pull/8 )
Original file line number Diff line number Diff line change @@ -208,8 +208,8 @@ The pagination options in the list page can be configured. The available options
208
208
The template files are built using Jinja2 and can be completely overridden in the configurations. The pages available are:
209
209
210
210
* ` list_template ` : List view template. Default is ` list.html ` .
211
- * ` detail_template ` : Details view template. Default is ` details .html` .
212
- * ` create_template ` : Edit view template. Default is ` edit .html` .
211
+ * ` detail_template ` : Details view template. Default is ` detail .html` .
212
+ * ` create_template ` : Edit view template. Default is ` create .html` .
213
213
* ` edit_template ` : Edit view template. Default is ` edit.html ` .
214
214
215
215
!!! Example
Original file line number Diff line number Diff line change 66
66
- Views : ' api/views.md'
67
67
- BaseAdmin : ' api/base-admin.md'
68
68
- AuthProvider : ' api/auth-provider.md'
69
+ - Changelog : ' changelog.md'
69
70
70
71
71
72
extra :
73
+ analytics :
74
+ provider : google
75
+ property : G-65T0Z8JY8D
72
76
social :
73
77
- icon : fontawesome/brands/github
74
78
link : https://github.com/jowilf
Original file line number Diff line number Diff line change 1
1
[tool .poetry ]
2
2
name = " starlette-admin"
3
- version = " 0.1.0 "
3
+ version = " 0.1.1 "
4
4
description = " Simple and extensible admin interface framework for Starlette/FastApi"
5
5
authors = [" Jocelin Hounon <hounonj@gmail.com>" ]
6
6
license = " MIT"
Original file line number Diff line number Diff line change 1
- __version__ = "0.1.0 "
1
+ __version__ = "0.1.1 "
2
2
3
3
from starlette_admin .base import BaseAdmin
4
4
from starlette_admin .fields import *
Original file line number Diff line number Diff line change 11
11
)
12
12
from starlette .requests import Request
13
13
from starlette_admin import (
14
+ ColorField ,
14
15
EmailField ,
15
16
PhoneField ,
16
17
RelationField ,
@@ -312,6 +313,7 @@ def build_full_text_search_query(
312
313
EmailField ,
313
314
URLField ,
314
315
PhoneField ,
316
+ ColorField ,
315
317
]:
316
318
query ["or" ].append ({field .name : {"contains" : term }})
317
319
return build_query (query , model )
You can’t perform that action at this time.
0 commit comments