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 13790,"Docs for CurrentSiteManager indicate an M2M field called ""sites"" will be auto-detected on a model when it won't",Gabriel Hurley,Gabriel Hurley,"Throughout the Sites Framework docs the example models use `sites = ManyToManyField(Site)`, and under the [http://docs.djangoproject.com/en/dev/ref/contrib/sites/#django.contrib.sites.django.contrib.sites.managers.CurrentSiteManager CurrentSiteManager section] it indicates that CurrentSiteManager will be able to automatically discover either a ForeignKey called ""site"" or a ManyToManyField called ""sites"", when in fact the code only looks for a field called ""site"". While it'd be an easy docs fix, it seems more valuable to fix [http://code.djangoproject.com/browser/django/trunk/django/contrib/sites/managers.py#L5 the code for the manager] to actually do what the docs say. I'm happy to write up a patch and tests for it later.",,closed,Contrib apps,1.2,,fixed,,,Ready for checkin,1,0,0,0,0,0