/ Published in: Python
URL: http://docs.djangoproject.com/en/dev/ref/contrib/sites/
In template: http://{{ site.domain }}
Expand |
Embed | Plain Text
from django.contrib.sites.models import Site Site.objects.get_current()
You need to login to post a comment.
