Start to implement migration support
Some checks failed
buildbot/tox Build done.

This commit is contained in:
2019-12-02 18:35:29 +01:00
parent ca4e65e926
commit 05e2337957
11 changed files with 214 additions and 11 deletions

View 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