- @wesleykendall (Wes Kendall)
- @romansul (Roman Sul)
- @chang-brian (Brian Chang)
Easily create actions and various interfaces around them.
django-action-framework (daf) provides the ability to generate a number of diverse interfaces from a single action definition. What is an action? It’s a function. By writing a function and providing a few hints about the characteristics of your function, you can:
daf removes the boilerplate and cognitive overhead of maintaining validation logic, view logic, and update logic spread across Django views, models, admin interfaces, API endpoints, and other locations in a Django project. daf allows the engineer to focus on writing one clear and easily-testable piece of business logic while treating complex UI and APIs as an extension of the function rather than a piece of intertwined code.
For examples and a full tutorial of how to use django-action-framework, check out the docs.
Install django-action-framework with:
pip3 install django-action-framework
After this, add daf to the INSTALLED_APPS setting of your Django project.
Also ensure the following apps are in INSTALLED_APPS:
For information on setting up django-action-framework for development and contributing changes, view CONTRIBUTING.rst.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size django_action_framework-1.5.0-py3-none-any.whl (41.9 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size django-action-framework-1.5.0.tar.gz (31.2 kB)||File type Source||Python version None||Upload date||Hashes View|