django-subdomains
django-subdomains copied to clipboard
Enhancement on Documentation: make URL configuration clearer
Hello! First of all, thank you very much for this project, which is being quite useful here at work :)
I have just a little suggestion for making the docs easier to understand. When you provide the example configuration with:
SUBDOMAIN_URLCONFS = {
None: 'myproject.urls.frontend', # no subdomain, e.g. ``example.com``
'www': 'myproject.urls.frontend',
'api': 'myproject.urls.api',
}
it took me a while to understand that I needed to replace the urls.py
with a folder named urls
containing frontend.py
and api.py
I know I'm a noob and probably someone with more expertise on Django could get there faster but a little phrase referring this would be greatly appreciated :D
Sorry for my bad English and thanks in advance for your attention on this subject… Keep up the good work!
+1 I agree. Its much easier to understand that way.