]> git.ipfire.org Git - thirdparty/patchwork.git/commitdiff
models: Add missing unicode decorator
authorStephen Finucane <stephen.finucane@intel.com>
Fri, 25 Mar 2016 15:56:35 +0000 (15:56 +0000)
committerStephen Finucane <stephen.finucane@intel.com>
Tue, 29 Mar 2016 10:24:52 +0000 (11:24 +0100)
This is required for Python 3 compatibility.

Signed-off-by: Stephen Finucane <stephen.finucane@intel.com>
patchwork/models.py

index bdd797aaa8d414f93ed0ce8d0e06add588970d6a..87d7d0d8af8f94d59713a009ce334203484e84b3 100644 (file)
@@ -523,6 +523,7 @@ class BundlePatch(models.Model):
         ordering = ['order']
 
 
+@python_2_unicode_compatible
 class Check(models.Model):
 
     """Check for a patch.