django-subdomains icon indicating copy to clipboard operation
django-subdomains copied to clipboard

Enhancement on Documentation: make URL configuration clearer

Open rjvitorino opened this issue 12 years ago • 1 comments

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!

rjvitorino avatar Oct 12 '12 08:10 rjvitorino

+1 I agree. Its much easier to understand that way.

jpatel3 avatar Nov 12 '15 18:11 jpatel3