﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
26044	"Misleading Warning ""HINT: ForeignKey(unique=True) is usually better served by a OneToOneField."""	Sven R. Kunze	nobody	"When upgrading from Django 1.7 to Django 1.8 using the runserver command, we noticed we get plenty of the following warnings:

mode.field_name: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
	HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.

We found that ForeignKey with unique scales usually better for two reasons:

1) no need to handle None
2) changing from unique to non-unique is straight forward as one already works with collections

Is there a way to suppress/remove that warning ?"	Uncategorized	closed	Core (System checks)	1.8	Normal	invalid		tzanke@…	Unreviewed	0	0	0	0	0	0
