Answer the question
In order to leave comments, you need to log in
Different templates for different domains in django?
The bottom line is this: there are two domain names (two sites) - name.com and name.ru. Sites use the same database, all views and the context in them are the same, the difference is only in the display. How can I use different templates for these names in the same django application? Thanks in advance for your replies.
Answer the question
In order to leave comments, you need to log in
Create site1 and site2 folders in templates. And in a view to address to the necessary.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question