#19857: Update documentation to include ALLOWED_HOSTS section. -------------------------------------+------------------------------------- Reporter: anonymous | Owner: nobody Type: | Status: closed Cleanup/optimization | Version: 1.4 Component: Documentation | Resolution: fixed Severity: Normal | Triage Stage: Keywords: ALLOWED_HOSTS, | Unreviewed documentation, settings file | Needs documentation: 0 Has patch: 0 | Patch needs improvement: 0 Needs tests: 0 | UI/UX: 0 Easy pickings: 1 | -------------------------------------+-------------------------------------
Comment (by carljm): Crap. I missed that the `{{ docs_version }}` project-template substitution was new in trunk, so the link in the project-template settings.py to the documentation for `ALLOWED_HOSTS` will be broken in all new projects under 1.3.6, 1.4.4, and 1.5c2. This alone is probably not worth a re-release. Is it possible to add a redirect at dp.com so that https://docs.djangoproject.com/en//ref/settings /#allowed-hosts redirects to https://docs.djangoproject.com/en/1.4/ref/settings/#allowed-hosts ? That'll send 1.3 users to the 1.4 docs, but it's better than a broken link; the `ALLOWED_HOSTS` documentation is the same for 1.3 and 1.4. (We shouldn't send them to any more recent docs, as those will show an empty list instead of wildcard default value; if we send them to 1.4 then 1.5c2 users will see the wrong default, but better to do that to RC users than production release users, since this'll be fixed correctly for 1.5 final). -- Ticket URL: <https://code.djangoproject.com/ticket/19857#comment:5> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.