Maybe this is a stupid question.
In php application I used to insert properly htaccess in home directory that redirect from example.com at www.example.com.
But with django how I have to do ?
Maybe this is a stupid question.
In php application I used to insert properly htaccess in home directory that redirect from example.com at www.example.com.
But with django how I have to do ?
See this SO question.
Also a quote from Django documentation:
PREPEND_WWW Default: False
Whether to prepend the "www." subdomain to URLs that don't have it. This is only used if CommonMiddleware is installed (see Middleware). See also APPEND_SLASH.