Opened 7 years ago

Closed 7 years ago

Last modified 3 years ago

#8491 closed (fixed)

Allow settings.LOCALE_PATHS to be a list

Reported by: jcassee Owned by: nobody
Component: Internationalization Version: master
Severity: Keywords:
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

If settings.LOCALE_PATHS is not a tuple django-admin.py compile_messages throws an exception. The attached patch coerces it into a tuple to fix the problem. (See also ticket #8214.)

Attachments (1)

8491-r8468.diff (642 bytes) - added by jcassee 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by jcassee

comment:1 Changed 7 years ago by mtredinnick

  • milestone set to 1.0
  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 7 years ago by jcassee

BTW, I almost added a diff to the docs to mention the change in the documentation but decided against it. Lists are never mentioned in the settings docs.

comment:3 Changed 7 years ago by mtredinnick

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

(In [8527]) Fixed #8491 -- Allow settings.LOCALE_PATH to be any sequence, not just a tuple.

comment:4 Changed 3 years ago by jacob

  • milestone 1.0 deleted

Milestone 1.0 deleted

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