This commit is contained in:
12
src/django_deploy/tests/fake_app1/models.py
Normal file
12
src/django_deploy/tests/fake_app1/models.py
Normal file
@@ -0,0 +1,12 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from __future__ import unicode_literals
|
||||
from django.db import models
|
||||
from django.utils.encoding import python_2_unicode_compatible
|
||||
|
||||
|
||||
@python_2_unicode_compatible
|
||||
class MyModel(models.Model):
|
||||
chars = models.CharField(max_length=10)
|
||||
|
||||
def __str__(self):
|
||||
return self.chars
|
||||
Reference in New Issue
Block a user