Answer the question
In order to leave comments, you need to log in
How to make city selection via url in django?
How to implement city selection by url:
For example:
mysite.ru -> main city
mysite.ru/spb/ -> St. Petersburg
, etc.
cities should be added from the admin panel and applied to all site content
ps I know about the existence of the sites framework, but is it interesting to do it this way, and not subdomains?
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