#27873 closed Bug (fixed)
setup_test_environment() doesn't allow ALLOWED_HOSTS to be a tuple
| Reported by: | Chris Lamb | Owned by: | nobody |
|---|---|---|---|
| Component: | Testing framework | Version: | 1.11 |
| Severity: | Release blocker | Keywords: | |
| Cc: | Triage Stage: | Accepted | |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
We previously let ALLOWED_HOSTS to be a tuple but [17e6616] (re. #26666)
regressed on this.
Change History (6)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
| Component: | Uncategorized → Testing framework |
|---|---|
| Description: | modified (diff) |
| Needs tests: | set |
| Severity: | Normal → Release blocker |
| Summary: | Don't assume that ALLOWED_HOSTS is a list → setup_test_environment() doesn't allow ALLOWED_HOSTS to be a tuple |
| Triage Stage: | Unreviewed → Accepted |
| Type: | Uncategorized → Bug |
Note:
See TracTickets
for help on using tickets.
https://github.com/django/django/pull/8101