- 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)
Metadata
Release files for django-dynamic-manipulation 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-dynamic-manipulation-0.0.8.tar.gz | 5.6 kB | Details |
Release files / django-dynamic-manipulation-0.0.8.tar.gz
| Download URL | django-dynamic-manipulation-0.0.8.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e58507c72a375279e0fb53c891a6a027006b5f9e41b7eae6e13efbf1bd8572f
|
|
BLAKE2b-256 checksum How to use checksums |
6269a352383f3ccf11d14eeccde13e99d831b476c3415f3dc4da8c607298b0df
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |