Answer the question
In order to leave comments, you need to log in
How to set subdomains in django urls?
there is site.com
and there are subdomains of which there will be a set of *.site.com for example, each entry from a certain database, but this is not accurate)
ALLOWED_HOSTS
= ['.site.com'
] one way
and
site.com the other way
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question