~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to check_input/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:
31
31
        ordering = ['content_type_id']
32
32
        default_permissions = ('change', 'delete',)
33
33
 
34
 
    def __unicode__(self):
 
34
    def __str__(self):
35
35
        return self.text
36
36
 
37
37
    def clean(self):