Project

General

Profile

Bug #36836

dataviz, global name '_' is not defined

Added by Frédéric Péters 12 days ago. Updated 12 days ago.

Status:
Solution déployée
Priority:
Normal
Target version:
-
Start date:
10 Oct 2019
Due date:
% Done:

0%

Patch proposed:
Yes
Planning:
No

Description

File "/usr/lib/python2.7/dist-packages/django/template/library.py" in render
  203.         output = self.func(*resolved_args, **resolved_kwargs)

File "/usr/lib/python2.7/dist-packages/combo/manager/templatetags/cells.py" in cell_form
  28.         context['form'] = form_class(instance=cell, prefix='c%s' % cell.get_reference())

File "/usr/lib/python2.7/dist-packages/combo/apps/dataviz/forms.py" in __init__
  56.                 label_prefix = _('%s: ') % site_dict.get('title')

Exception Type: NameError at /manage/pages/1/
Exception Value: global name '_' is not defined

0001-dataviz-add-missing-gettext-import-36836.patch View (678 Bytes) Frédéric Péters, 10 Oct 2019 12:20 PM

Associated revisions

Revision 6c4ad54b (diff)
Added by Frédéric Péters 12 days ago

dataviz: add missing gettext import (#36836)

History

#1 Updated by Frédéric Péters 12 days ago

Chemin de code où on passe uniquement en multi-publik, zappé.

#2 Updated by Thomas Noël 12 days ago

  • Status changed from Solution proposée to Solution validée

#3 Updated by Frédéric Péters 12 days ago

  • Status changed from Solution validée to Résolu (à déployer)
commit 6c4ad54bf4239402b0b1be921063c8fed86b524e
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Thu Oct 10 12:20:24 2019 +0200

    dataviz: add missing gettext import (#36836)

#5 Updated by Frédéric Péters 12 days ago

  • Status changed from Résolu (à déployer) to Solution déployée

Also available in: Atom PDF