#23338: Warn when unique=True is set on ForeignKey
-------------------------------------+-------------------------------------
Reporter: funkybob | Owner: Tim
Type: New feature | Graham <timograham@…>
Component: Core (System | Status: closed
checks) | Version: master
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
Has patch: 1 | checkin
Needs tests: 0 | Needs documentation: 0
Easy pickings: 0 | Patch needs improvement: 0
| UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham <timograham@…>):
* owner: => Tim Graham <timograham@…>
* status: new => closed
* resolution: => fixed
Comment:
In [changeset:"f39b0421b406b411c3bcb58e8aa415d885fea505"]:
{{{
#!CommitTicketReference repository=""
revision="f39b0421b406b411c3bcb58e8aa415d885fea505"
Fixed #23338 -- Added warning when unique=True on ForeigKey
Thanks Jonathan Lindén for the initial patch, and Tim Graham
and Gabe Jackson for the suggestions.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/23338#comment:13>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/066.84369f48daf1bbad2635a5bea6955fa3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.