Record rule based dynamic manipulations.
Project description
- depends on:
- django-dynamic-rules: an app that allows you to create dynamic rules
related to a particular model. https://github.com/imtapps/django-dynamic-rules
When a dynamic rule is triggered, it can use a Dynamic Manipulation to create some other model (referred to as a side effect model). When the rules are run all of the side effect models will be deleted and re-created if necessary (as determined by the rule).
A manipulation log keeps track of the rule, side effect model, and the model that triggered the side effect. This is how we know what changes occurred as a result of the dynamic rule.
See the example app for a sample of what this might look in a shopping cart application. There are lettuce tests that clearly show a simplified shopping cart use case.
(run “./manage.py harvest -a sample -S” to run the lettuce tests)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-dynamic-manipulation-0.0.8.tar.gz
.
File metadata
- Download URL: django-dynamic-manipulation-0.0.8.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e58507c72a375279e0fb53c891a6a027006b5f9e41b7eae6e13efbf1bd8572f |
|
MD5 | 5d3a7ea4b3b8b31bc3d866c581a9496e |
|
BLAKE2b-256 | 6269a352383f3ccf11d14eeccde13e99d831b476c3415f3dc4da8c607298b0df |