vchaptsev / cookiecutter-django-vue

Cookiecutter Django Vue is a template for Django-Vue projects.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Subdomain support

briancaffey opened this issue · comments

Hi, cool project. Do you have plans to support subdomains? I'm working on a similar project and I am working on how to set up subdomain support. From what I have seen, I think it can be done with a middleware class on the Django side, some processing of the URL in Vue's router and editing nginx to catch the subdomains.

Hey, thank you :)

Subdomains

Yeah, your approach seems good for me.
You may also use Django Sites Framework.

Support

I don't know.
Subdomains support is not very basic functionality, so I'm not sure if it is should be in cookiecutter.
But if you want to contribute – it would be great 😄

Let's say it's out of scope