Return to Snippet

Revision: 27640
at June 18, 2010 05:24 by tclancy


Initial Code
from django.contrib.sites.models import Site
Site.objects.get_current()

Initial URL
http://docs.djangoproject.com/en/dev/ref/contrib/sites/

Initial Description
In template: http://{{ site.domain }}

Initial Title
Django: Get Current Site & Display It

Initial Tags

                                

Initial Language
Python