Parcourir la source

The method __str__ is no more used in Panorama so should be the decorator

Christian Proust il y a 9 ans
Parent
commit
2302162796
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      panorama/models.py

+ 0 - 1
panorama/models.py

@@ -110,7 +110,6 @@ class ReferencePoint(Point):
         return self.name
 
 
-@python_2_unicode_compatible
 class Panorama(ReferencePoint):
     loop = models.BooleanField(default=False, verbose_name="360° panorama",
                                help_text="Whether the panorama loops around the edges")