﻿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
21730	Small confusion code example in documentation	Rafał Pitoń	nobody	"The code example on following page:

https://docs.djangoproject.com/en/dev/topics/auth/customizing/#django.contrib.auth.models.CustomUser.USERNAME_FIELD

sets both unique=True and db_index=True attributes on model field, yet documentation for unique attribute claims thats not necessary:

https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.Field.unique

""Note that when unique is True, you don’t need to specify db_index, because unique implies the creation of an index.""

This gave me small scare, so I'm reporting it to bring it up to the doc maintainers attention. ;)"	Cleanup/optimization	closed	Documentation	1.6	Normal	fixed			Accepted	0	0	0	0	1	0
