On Nov 24, 2010, at 9:08 AM, robos85 wrote: > What do You mean "current Site object"?
from django.contrib.sites.models import Site current_site = Site.objects.get_current() email_vars = Context({'registration_hash' : '123456', 'new_email' : 'm...@mail.com', 'current_site': current_site}) Documented here: http://docs.djangoproject.com/en/1.2/ref/contrib/sites/#getting-the-current-domain-for-full-urls - Jason -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.