Commits

Denis Kolodin  committed 2b0451f

Fix bug

  • Participants
  • Parent commits 6248fec

Comments (0)

Files changed (1)

File src/djangogo/choices.py

         self.maps = {}
         for name in variants:
             code = variants[name]
-            keys.append(name)
+            self.keys.append(name)
             self.pairs.append((code, _(name)))
             self.maps[name] = code
         self.pairs.sort(key=lambda item: item[0])