Python - How to import 'get_current_site' -- django
Import get_current_site
To import get_current_site, Add the following line to the top of your code.
from django.contrib.sites.shortcuts import get_current_site
For more information about get_current_site:
django get_current_site