Files
django-deploy/src/django_deploy/tests/fake_app1/models.py
2019-12-02 18:35:29 +01:00

13 lines
309 B
Python

# -*- 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