Closed giovaneliberato closed 9 years ago
HI Giovane,
Unfortunately this code would result on only de default vesion url. If you use a personal domain, it will not work properly. The idea is creating a funcition that returns the current domain, probably extraction it from request. Because of this, I can not merge it.
In fact the fault was mine because I mentioned the API on issue's discussion. Sorry.
Yes, you're right.. I thought that app_identity.get_default_version_hostname() would return the URL even if it was a custom domain.
But extracting the url from request will work when settings.py runs?
16