mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
Refs #23919 -- Removed python_2_unicode_compatible decorator usage
This commit is contained in:
@@ -7,10 +7,8 @@ commit-on-success behavior. Alternatively, you can manage the transaction
|
||||
manually.
|
||||
"""
|
||||
from django.db import models
|
||||
from django.utils.encoding import python_2_unicode_compatible
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class Reporter(models.Model):
|
||||
first_name = models.CharField(max_length=30)
|
||||
last_name = models.CharField(max_length=30)
|
||||
|
||||
Reference in New Issue
Block a user