Skip to content

Commit

Permalink
v0.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
amisadmin committed May 24, 2022
1 parent 99250e9 commit 7a3d4f4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion fastapi_amis_admin/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__version__ = "0.1.1"
__version__ = "0.1.2"
__url__ = "https://github.com/amisadmin/fastapi_amis_admin"

import gettext
Expand Down
2 changes: 1 addition & 1 deletion fastapi_amis_admin/amis_admin/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ async def get_list_table(self, request: Request) -> TableCRUD:
perPage=self.list_per_page,
itemActions=await self.get_actions_on_item(request),
bulkActions=await self.get_actions_on_bulk(request),
footerToolbar=["statistics", "switch-per-page", "pagination", "load-more", "export-csv","export-excel"],
footerToolbar=["statistics", "switch-per-page", "pagination", "load-more", "export-csv", "export-excel"],
columns=await self.get_list_columns(request),
primaryField=self.pk_name,
quickSaveItemApi=f'put:{self.router_path}/item/' + '${id}',
Expand Down
3 changes: 1 addition & 2 deletions fastapi_amis_admin/amis_admin/settings.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from pydantic import BaseSettings, Field, validator
from pydantic import BaseSettings, Field


class Settings(BaseSettings):
Expand All @@ -9,4 +9,3 @@ class Settings(BaseSettings):
root_path: str = '/admin'
database_url_async: str = Field(..., env='DATABASE_URL_ASYNC')
language: str = '' # 'zh_CN','en_US'

0 comments on commit 7a3d4f4

Please sign in to comment.