Aiohttp-admin

Latest version: v0.0.3

Safety actively analyzes 681748 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

0.1.0a3

====================

- Used ``AppKey`` with aiohttp 3.9.
- Added Python 3.12 support.
- Added support for dynamically loaded components.
- Reverted a change which broke relationship fields.

0.1.0a2

====================

- Added ``permission_for()`` to create sqlalchemy permissions programatically.
- Added ``field_props`` and ``input_props`` to the schema to pass extra props to components.
- Added support for more relationships (one-to-many, many-to-one etc.).
- Added a ``js_module`` option to include custom functions.
- Added ``comp()``, ``func()`` and ``regex()``.
- Added ``show_actions`` to allow customising the show actions.
- Set many additional props/validators from inspecting the SqlAlchemy models.
- Migrated to Pydantic v2.
- Fixed behaviour with dates and times.
- Various minor improvements.

0.1.0a1

====================

- Removed ``auth_policy`` parameter from ``setup()``, this is no longer needed.
- Added a default ``identity_callback`` for simple applications, so it is no longer a required schema item.
- Added ``Permissions.all`` enum value (which should replace ``tuple(Permissions)``).
- Added validators to inputs (e.g. required, minValue etc. See examples/validators.py).
- Added extensive permission controls (see examples/permissions.py).
- Added ``admin["permission_re"]`` regex object to test if permission strings are valid.
- Added buttons for the user to change visible columns in the list view.
- Added initial support for ORM (1-to-many) relationships.
- Added option to add simple bulk update buttons.
- Added option to customise resource icons in sidebar.
- Added option to customise admin title and resource labels.
- Added support for non-id primary keys.
- Added default favicon.
- Included JS map file.
- Fixed autocomplete behaviour in reference inputs (e.g. for foreign keys).
- Fixed handling of date/datetime inputs.

0.1.0a0

====================

- Migrated to react-admin and completely reinvented the API.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.