~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to wlimages/models.py

  • Committer: kaputtnik
  • Date: 2019-06-14 18:40:56 UTC
  • mfrom: (532.1.31 widelands)
  • Revision ID: kaputtnik-20190614184056-l0ha8pm5zais9mxk
Adapted code for use with python 3.6

Show diffs side-by-side

added added

removed removed

Lines of Context:
78
78
 
79
79
    objects = ImageManager()
80
80
 
81
 
    def __unicode__(self):
 
81
    def __str__(self):
82
82
        return self.name
83
83
 
84
84
    def get_content_object(self):