Django

Code

Ticket #8491 (closed: fixed)

Opened 3 months ago

Last modified 3 months ago

Allow settings.LOCALE_PATHS to be a list

Reported by: jcassee Assigned to: nobody
Milestone: 1.0 Component: Internationalization
Version: SVN Keywords:
Cc: Triage Stage: Accepted
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

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

8491-r8468.diff (0.6 kB) - added by jcassee on 08/22/08 15:31:46.

Change History

08/22/08 15:31:46 changed by jcassee

  • attachment 8491-r8468.diff added.

08/22/08 15:34:18 changed by mtredinnick

  • needs_better_patch changed.
  • needs_docs changed.
  • stage changed from Unreviewed to Accepted.
  • needs_tests changed.
  • milestone set to 1.0.

08/22/08 15:37:39 changed 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.

08/24/08 22:26:37 changed by mtredinnick

  • status changed from new to closed.
  • resolution set to fixed.

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


Add/Change #8491 (Allow settings.LOCALE_PATHS to be a list)




Change Properties
Action