Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get current site django

from django.contrib.sites.shortcuts import get_current_site
domain = get_current_site(request).domain
 
PREVIOUS NEXT
Tagged: #current #site #django
ADD COMMENT
Topic
Name
9+6 =