if you have a view let's say views.activate that corresponds to the URL at let's say /account/activate/2, you can use the template tag {% url views.activate params_for_url_capturing %}
Cheers On Nov 24, 8:01 am, robos85 <prog...@gmail.com> wrote: > Hi, > I'm writing an email sending module based on on templates. I have no > idea how to put absolute url to my template (for > examplehttp://domain.com/account/activate/2). I have special url for this, > named account_activation. > I know how to pass variables but how to create that url? > Shouls I use {{ url }} tag? It creates relative paths starting > with / :/ -- 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.