﻿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
13559	Need a contextprocessor for current site	Artem Skoretskiy	Sylvain Boissel	"If you use Sites app you would need to use current site instance in your templates. For that purpose there should be a ContextProcessor in django.contrib.sites application.

The code is quite simple, but it makes no sense to create and store it in user's application:

{{{
from django.contrib.sites.models import Site

def current_site(request):
    return {'SITE': Site.objects.get_current()}

}}}

I can provide a patch if needed."	New feature	assigned	contrib.sites	dev	Normal			tonn81@… django@… min@… Artem Skoretskiy Christoph Schindler krzysiumed@…	Accepted	1	0	0	1	0	0
