Answers for "django current site url"

1

get current site django

from django.contrib.sites.shortcuts import get_current_site
domain = get_current_site(request).domain
Posted by: Guest on October-01-2020
0

How to get current page url in django template

{{ request.build_absolute_uri }} #Domain, path and querystring
Posted by: Guest on July-10-2021

Code answers related to "django current site url"

Python Answers by Framework

Browse Popular Code Answers by Language