[Django] #27923: Forms signals

10 views
Skip to first unread message

Django

unread,
Mar 10, 2017, 4:11:25 AM3/10/17
to django-...@googlegroups.com
#27923: Forms signals
---------------------------------------+--------------------------------
Reporter: David | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version:
Severity: Normal | Keywords: forms, signals
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
---------------------------------------+--------------------------------
Adding some signals for forms would allow apps to plug in to other apps
and aid encapsulation between apps.

More discussion here:
https://groups.google.com/forum/?utm_medium=email&utm_source=footer#!msg
/django-developers/SviNiWy3Bjc/fqFL8rZvBAAJ

Proposed signals:

- pre_init
- post_init
- pre_clean
- post_clean

And for ModelForm:

- pre_save
- post_save

I'd be happy to do a pull request for this one.

--
Ticket URL: <https://code.djangoproject.com/ticket/27923>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Mar 10, 2017, 2:35:48 PM3/10/17
to django-...@googlegroups.com
#27923: Add form signals (pre_init, post_init, pre_clean, post_clean, etc.)
--------------------------------+------------------------------------

Reporter: David | Owner: nobody
Type: New feature | Status: new
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: forms, signals | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Tim Graham):

* stage: Unreviewed => Accepted


Comment:

Nominally accepted, though as discussed on the mailing list, details
remain to be determined.

--
Ticket URL: <https://code.djangoproject.com/ticket/27923#comment:1>

Django

unread,
Mar 27, 2017, 10:00:20 PM3/27/17
to django-...@googlegroups.com
#27923: Add form signals (pre_init, post_init, pre_clean, post_clean, etc.)
--------------------------------+-------------------------------------
Reporter: David | Owner: luojiebin
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: forms, signals | Triage Stage: Accepted

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+-------------------------------------
Changes (by luojiebin):

* status: new => assigned
* owner: nobody => luojiebin


--
Ticket URL: <https://code.djangoproject.com/ticket/27923#comment:2>

Django

unread,
Mar 31, 2017, 11:32:07 PM3/31/17
to django-...@googlegroups.com
#27923: Add form signals (pre_init, post_init, pre_clean, post_clean, etc.)
--------------------------------+-------------------------------------
Reporter: David | Owner: luojiebin
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: forms, signals | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0

Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+-------------------------------------
Changes (by luojiebin):

* has_patch: 0 => 1


Comment:

[https://github.com/django/django/pull/8280 PR]

--
Ticket URL: <https://code.djangoproject.com/ticket/27923#comment:3>

Django

unread,
Apr 2, 2017, 4:08:07 PM4/2/17
to django-...@googlegroups.com
#27923: Add form signals (pre_init, post_init, pre_clean, post_clean, etc.)
--------------------------------+-------------------------------------
Reporter: David | Owner: luojiebin
Type: New feature | Status: assigned
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: forms, signals | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
--------------------------------+-------------------------------------
Changes (by Tim Graham):

* needs_better_patch: 0 => 1


--
Ticket URL: <https://code.djangoproject.com/ticket/27923#comment:4>

Django

unread,
Mar 21, 2023, 5:32:51 AM3/21/23
to django-...@googlegroups.com
#27923: Add form signals (pre_init, post_init, pre_clean, post_clean, etc.)
--------------------------------+------------------------------------
Reporter: David Seddon | Owner: (none)

Type: New feature | Status: new
Component: Forms | Version:
Severity: Normal | Resolution:
Keywords: forms, signals | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 1

Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------
Changes (by Mariusz Felisiak):

* owner: luojiebin => (none)
* status: assigned => new


--
Ticket URL: <https://code.djangoproject.com/ticket/27923#comment:5>

Reply all
Reply to author
Forward
0 new messages