1
0
mirror of https://github.com/django/django.git synced 2025-10-26 07:06:08 +00:00

Fixed #19645 -- Added tests for TransactionMiddleware

This commit is contained in:
Anssi Kääriäinen
2013-02-02 14:48:55 +02:00
parent bc7a219b1e
commit f556df90be
2 changed files with 63 additions and 3 deletions

View File

@@ -1 +1,13 @@
# models.py file for tests to run.
from django.db import models
from django.utils.encoding import python_2_unicode_compatible
@python_2_unicode_compatible
class Band(models.Model):
name = models.CharField(max_length=100)
class Meta:
ordering = ('name',)
def __str__(self):
return self.name