8000 GitHub - AnyBlok/anyblok_mixins
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

AnyBlok/anyblok_mixins

Repository files navigation

Version status Build status Coverage Documentation Status gitter

Python versions

AnyBlok

Add some mixins to help implementation of business models

Blok Dependencies Description
anyblok-mixins  

Add some Mixins to help developpers :

  • IdColumn : add primary key id
  • UuidColumn : add primary key uuid
  • TrackModel : add create_date and edit_date
  • ForbidUpdate : Forbid all update on a Model
  • ForbidDelete : Forbid all delete on a Model
  • Readonly : Forbid all delete and update on a Model
  • ConditionalForbidUpdate : Need to overwrite the method check_if_forbid_update_condition_is_true
  • ConditionalForbidDelete : Need to overwrite the method check_if_forbid_delete_condition_is_true
  • ConditionalReadonly : Need to overwrite the method check_if_forbid_update_condition_is_true and check_if_forbid_delete_condition_is_true
  • BooleanForbidUpdate : add forbid_update column
  • BooleanForbidDelete : add forbid_delete column
  • BooleanReadonly : add readonly column
  • StateReadOnly : Need to overwrite the method check_if_forbid_update_condition_is_true and check_if_forbid_delete_condition_is_true
anyblok-workflow anyblok-mixins Add Workflow behaviour

AnyBlok / Pyramid is released under the terms of the Mozilla Public License.

See the latest documentation

Running Tests

To run framework tests with pytest:

pip install pytest
ANYBLOK_DATABASE_DRIVER=postgresql ANYBLOK_DATABASE_NAME=test_anyblok py.test anyblok_mixins/tests

AnyBlok is tested continuously using Travis CI

Author

Jean-Sébastien Suzanne

Contributors

  • Jean-Sébastien Suzanne
  • Pierre Verkest
  • Hugo Quezada

Bugs

Bugs and features enhancements to AnyBlok should be reported on the Issue tracker.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages

0