André
André

Reputation: 25554

Django - How to design a Django website with subdomains?

I'm new to Django...

I will develop a web application that will have subdomains like "us.mysite.com", "uk.mysite.com", "es.mysite.com". I have many doubts about the better way of doing this in Django...

Should I design my Django project by Apps like this:

mysite_project
        --> uk_app
        --> us_app
        --> es_app 

If not, what should I do? One Django Projecto for each subdomain?

Best Regards,

Upvotes: 0

Views: 276

Answers (2)

thumbtackthief
thumbtackthief

Reputation: 6211

Is Using Subdomains better than using this? (I don't know the answer--these were the two resources I found, and I'm confused by both.) Which is better/easier? (Hopefully the same answer to both questions, but...)

Upvotes: 0

Lynob
Lynob

Reputation: 5327

Read Using Subdomains in Django.

Upvotes: 2

Related Questions