Opened 9 years ago

Closed 9 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
Component: Template system Version: master
Severity: Keywords: typo template VariableDoesNotExist mgs self.mgs
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation:
Needs tests: Patch needs improvement:
Easy pickings: UI/UX:

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@…> 9 years ago.

Download all attachments as: .zip

Change History (2)

Changed 9 years ago by Herbert Poul <herbert.poul@…>

comment:1 Changed 9 years ago by mtredinnick

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

(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