Opened 12 years ago

Closed 12 years ago

#20310 closed Uncategorized (invalid)

Bad allowed-hosts link in settings.py

Reported by: brejoc@… Owned by: nobody
Component: Uncategorized Version: 1.4
Severity: Normal Keywords: 1.4.1
Cc: bmispelon@… Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

A newly generated settings.py includes this:

# Hosts/domain names that are valid for this site; required if DEBUG is False
# See https://docs.djangoproject.com/en//ref/settings/#allowed-hosts
ALLOWED_HOSTS = []

The version number seems to be missing in the link. It should be: https://docs.djangoproject.com/en/1.4/ref/settings/#allowed-hosts

Change History (1)

comment:1 by Baptiste Mispelon, 12 years ago

Cc: bmispelon@… added
Resolution: invalid
Status: newclosed

Hi,

I believe this was fixed in django 1.4.5 with commit 4cdfb24c9847f89a332742dbc476f189de4989dc

You're probably using django 1.4.4 so upgrading should fix your problem.

Thanks.

Note: See TracTickets for help on using tickets.
Back to Top