Code

Opened 7 years ago

Closed 7 years ago

#5395 closed (fixed)

Error in settings.py, line 26-28

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

Description

settings.py (in a newly started project) states this:

# Language code for this installation. All choices can be found here:
# http://www.w3.org/TR/REC-html40/struct/dirlang.html#langcodes
LANGUAGE_CODE = 'en-us'

That is, however, not true. The document at that URI does in fact not have a list of applicable choices. It describes the syntax for them, however.

Either the text should be changed or we should find a location where all choices can be found (which I think would be more helpful).

Attachments (0)

Change History (2)

comment:1 Changed 7 years ago by Jarek Zgoda <jarek.zgoda@…>

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 7 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [6123]) Fixed #5395 -- Changed URL of all language codes in project_template/settings.py. Thanks, Jarek Zgoda and mikkel@…

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.