#34733: m2m_changed signal is unaware if .set() method is being called
-------------------------------------+-------------------------------------
Reporter: Leif Kjos | Owner: Leif Kjos
Type: New feature | Status: closed
Component: Database layer | Version: dev
(models, ORM) |
Severity: Normal | Resolution: wontfix
Keywords: | Triage Stage:
| Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Mariusz Felisiak):
* status: assigned => closed
* resolution: => wontfix
Comment:
Thanks for this ticket, however, signals are the last resort, required in
really rare cases and could probably be avoided in yours. We don't want to
add new features to them. Personally, I'd use a custom intermediate
models, and add this logic to the `.create()` or `.save()` methods.
Please see TicketClosingReasons/UseSupportChannels for ways to get help
with Django usage, where folks can help you in re-designing this
validation.
You can start a discussion on DevelopersMailingList if you don't agree,
where you'll reach a wider audience and see what other think, and
[https://docs.djangoproject.com/en/stable/internals/contributing/triaging-
tickets/#closing-tickets follow triaging guidelines with regards to
wontfix tickets.]
--
Ticket URL: <https://code.djangoproject.com/ticket/34733#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018986251696-b796ff0a-ab3c-4fdd-afaf-8e4b8f947408-000000%40eu-central-1.amazonses.com.