Opened 18 years ago

Closed 18 years ago

#3468 closed (fixed)

Trivial - Typo in django/template/__init__.py (self.mgs instead of self.msg)

Reported by: Herbert Poul <herbert.poul@…> Owned by: Adrian Holovaty
Component: Template system Version: dev
Severity: Keywords: typo template VariableDoesNotExist mgs self.mgs
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

there is a small typo in django/template/init.py in class VariableDoesNotExist:

    def __str__(self):
        return self.mgs % self.params

<-- should be self.msg

Attachments (1)

variablenotfoundtypo.diff (414 bytes ) - added by Herbert Poul <herbert.poul@…> 18 years ago.

Download all attachments as: .zip

Change History (2)

by Herbert Poul <herbert.poul@…>, 18 years ago

Attachment: variablenotfoundtypo.diff added

comment:1 by Malcolm Tredinnick, 18 years ago

Resolution: fixed
Status: newclosed

(In [4465]) Fixed #3468 -- fixed typo in VariableDoesNotExist.str. Pointed out by
Herbert Poul.

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