Code

#20697 closed Cleanup/optimization (worksforme)

Deploy checklist - Allowed hosts section about Debug

Reported by: anonymous Owned by: nobody
Component: Documentation Version: 1.5
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

On the current deploy checklist at:
https://docs.djangoproject.com/en/dev/howto/deployment/checklist/

The ALLOWED_HOSTS setting should be instructed to be added prior to setting DEBUG=False to prevent an Internal Server Error

Attachments (0)

Change History (1)

comment:1 Changed 10 months ago by timo

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Resolution set to worksforme
  • Status changed from new to closed

Quoting from the docs: "When DEBUG = False, Django doesn’t work at all without a suitable value for ALLOWED_HOSTS."

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.