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/shipments.py | |
parent | 8891e69e711d4a197c3b16183e1c39accbd38b45 (diff) | |
download | Servo-6514971850a070bd4aeb27aba85e319b852cbd97.tar.gz Servo-6514971850a070bd4aeb27aba85e319b852cbd97.tar.bz2 Servo-6514971850a070bd4aeb27aba85e319b852cbd97.zip |
Django 3 fixes
Diffstat (limited to 'servo/models/shipments.py')
-rw-r--r-- | servo/models/shipments.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/servo/models/shipments.py b/servo/models/shipments.py index 9dba9b3..4daa6e2 100644 --- a/servo/models/shipments.py +++ b/servo/models/shipments.py @@ -183,7 +183,7 @@ class Shipment(models.Model): super(Shipment, self).save(*args, **kwargs) - def __unicode__(self): + def __str__(self): return u'Shipment #%s from %s' % (self.pk, self.location.title) class Meta: |