diff options
author | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-23 04:17:43 +0200 |
---|---|---|
committer | Jonah BrĂ¼chert <jbb@kaidan.im> | 2024-05-23 04:31:59 +0200 |
commit | 6ec4100f25a53073acf662717c8f61bcad96493e (patch) | |
tree | c54ed70bd13b640e2c1472c24b95ebc35c94ceb5 /src/lib/Bcfg2/Reporting/models.py | |
parent | bb21feba15b062c5e4d17a400adea1049713c0f4 (diff) | |
download | bcfg2-6ec4100f25a53073acf662717c8f61bcad96493e.tar.gz bcfg2-6ec4100f25a53073acf662717c8f61bcad96493e.tar.bz2 bcfg2-6ec4100f25a53073acf662717c8f61bcad96493e.zip |
Fix string conversion for Python 3py3-server
Diffstat (limited to 'src/lib/Bcfg2/Reporting/models.py')
-rw-r--r-- | src/lib/Bcfg2/Reporting/models.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Reporting/models.py b/src/lib/Bcfg2/Reporting/models.py index faa972204..bad94171b 100644 --- a/src/lib/Bcfg2/Reporting/models.py +++ b/src/lib/Bcfg2/Reporting/models.py @@ -297,7 +297,7 @@ class Group(models.Model): groups = models.ManyToManyField("self", symmetrical=False) bundles = models.ManyToManyField("Bundle") - def __unicode__(self): + def __str__(self): return self.name class Meta: @@ -319,7 +319,7 @@ class Bundle(models.Model): name = models.CharField(max_length=255, unique=True) - def __unicode__(self): + def __str__(self): return self.name class Meta: |