Remove python_2_unicode_compatible method
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
from django.db import models
|
||||
from django.utils.dates import MONTHS_3
|
||||
from django.utils.six import python_2_unicode_compatible
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
|
||||
from polymorphic.models import PolymorphicModel
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Order(models.Model):
|
||||
"""
|
||||
An example order that has polymorphic relations
|
||||
@@ -23,7 +21,6 @@ class Order(models.Model):
|
||||
return self.title
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Payment(PolymorphicModel):
|
||||
"""
|
||||
A generic payment model.
|
||||
|
||||
Reference in New Issue
Block a user