diff options
author | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 00:02:03 +0300 |
---|---|---|
committer | Filipp Lepalaan <filipp@mac.com> | 2021-05-13 00:02:03 +0300 |
commit | 6514971850a070bd4aeb27aba85e319b852cbd97 (patch) | |
tree | b0280bf19021335f6170368e65c9ec7ab7cb7774 /servo/models/parts.py | |
parent | 8891e69e711d4a197c3b16183e1c39accbd38b45 (diff) | |
download | Servo-6514971850a070bd4aeb27aba85e319b852cbd97.tar.gz Servo-6514971850a070bd4aeb27aba85e319b852cbd97.tar.bz2 Servo-6514971850a070bd4aeb27aba85e319b852cbd97.zip |
Django 3 fixes
Diffstat (limited to 'servo/models/parts.py')
-rw-r--r-- | servo/models/parts.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/parts.py b/servo/models/parts.py index e1e099d..26fbfcf 100644 --- a/servo/models/parts.py +++ b/servo/models/parts.py @@ -413,7 +413,7 @@ class ServicePart(models.Model): super(ServicePart, self).save(*args, **kwargs) - def __unicode__(self): + def __str__(self): return u'ServicePart %s' % self.part_number class Meta: |