-
-
Notifications
You must be signed in to change notification settings - Fork 31.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.4.x] Fixed #19645 -- Added tests for TransactionMiddleware
Backpatch of f556df9. Backpatching these tests so that it will be easier to backpatch the fix for #19707.
- Loading branch information
Showing
2 changed files
with
59 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,11 @@ | ||
# models.py file for tests to run. | ||
from django.db import models | ||
|
||
|
||
class Band(models.Model): | ||
name = models.CharField(max_length=100) | ||
|
||
class Meta: | ||
ordering = ('name',) | ||
|
||
def __unicode__(self): | ||
return self.name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters