Opened 16 years ago

Closed 16 years ago

Last modified 13 years ago

#8491 closed (fixed)

Allow settings.LOCALE_PATHS to be a list

Reported by: Joost Cassee Owned by: nobody
Component: Internationalization Version: dev
Severity: 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

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 Joost Cassee 16 years ago.

Download all attachments as: .zip

Change History (5)

by Joost Cassee, 16 years ago

Attachment: 8491-r8468.diff added

comment:1 by Malcolm Tredinnick, 16 years ago

milestone: 1.0
Triage Stage: UnreviewedAccepted

comment:2 by Joost Cassee, 16 years ago

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 by Malcolm Tredinnick, 16 years ago

Resolution: fixed
Status: newclosed

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

comment:4 by Jacob, 13 years ago

milestone: 1.0

Milestone 1.0 deleted

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