In my view i execute Site.objects.get_current().domain but the result is empty string.
So, how can i get the domain name to compose right url?
Hosting is dreamhost.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The problem waas that it was executing the old instance of webapp (that didn’t use sites module) So i have resolved with pkill python command.