-
#### The problem
SQLAlchemy provides a listener mechanism similar to django signals in order to execute code based on events handler like pre_save or post_save. Some models can be plugged in with thi…
-
# How to add Custom signals dispatch in Django?
Django provides a lot of features out of the box and all of them are production ready and battle tested. But one of the most underrated out of the box …
-
```
What steps will reproduce the problem?
1. create a deprived instance of BaseModel
2. hook up post_save signal
3. call save()
4. expect post_save signal to trigger and execute the handler
What is …
-
## Work around
Decorate the class with `mute_signals`, and additionally override `_after_postgeneration` and mute signals there too.
```python
@mute_signals(signals.pre_save, signals.post_save)
…
-
### Deployment Type
Self-hosted
### Triage priority
I volunteer to perform this work (if approved)
### NetBox Version
v4.1.3
### Python Version
3.11
### Steps to Reproduce
1. Install a NetBox…
-
file concerned management.py
- https://docs.djangoproject.com/en/1.9/releases/1.9/
- https://docs.djangoproject.com/en/1.9/releases/1.7/#deprecated-features-1-7
A new makemigrations command provi…
-
-
### Environment
* Nautobot version: 2.3.11
* Python version: 3.11.10
* Database platform, version: Whatever demo.nautobot.com uses
* Middleware(s): No extras
### Steps to Reproduce
1. Log into…
-
Using the same channel, it seems like we cannot listen on multiple events, is that on purpose?
I'd have expected to write "one channel" per model, but it feels like we need to write as many channel…
-
It appears that using SubFactory bypasses any signal muting attached to the factory used, which seems counter-intuitive.
Is it possible to keep the muting defined on the factory, or to allow contro…