﻿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
23324	sites framework docs - omits the site id from the Site model	kiddhustle	nobody	"The documentation for the sites framework omits the site id from the model.

The site id is automatically added to the model by Django (the '''id attribute''') but no where in the documentation does it say that the user can access the '''current site_id''' via the model, only the ''domain'' and ''name'' attributes are shown.

It took me a good hour or so of searching for a way to get the current site id, before realising that like most model an 'id' attribute would be created for the Site model by Django (after browsing the Django source code).

I should have guessed this earlier but it '''wasn't made obvious in the documentation'''.

https://docs.djangoproject.com/en/1.6/ref/contrib/sites/"	Cleanup/optimization	closed	Documentation	1.6	Normal	fixed	documentaion		Unreviewed	1	0	0	0	1	0
