Skip to content

Redirection not working well for my domain. #424

Answered by danirus
smart8099 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @smart8099, what is the content of your site object in the DB?

from django.contrib.sites.models import Site
print(Site.objects.get(pk=1).domain)

Check if you added the protocol to the domain, maybe that is the problem.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@smart8099
Comment options

Answer selected by smart8099
Comment options

You must be logged in to vote
3 replies
@smart8099
Comment options

@danirus
Comment options

@smart8099
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants