Django Get Absolute URL
Ich möchte eine absolute URL in Vorlagen erhalten. Ich kann nicht mit URL machen. Es gibt mir eine relative URL. Ich muss das bekommen:
http://domain.tld/article/post
aber Django gibt mir gerade
/article/post
Ich habe mit settings.py gespielt, aber es hat nicht funktioniert. (debug = false, erlaubte Hosts vs.)
Vorlagencode:
{% url 'blog:detail' blog.slug %}