diff options
| author | Tom Christie | 2013-03-22 14:26:06 -0700 |
|---|---|---|
| committer | Tom Christie | 2013-03-22 14:26:06 -0700 |
| commit | 6770a5bbafb13a8699e6d459e5cfc4eba0ffdf64 (patch) | |
| tree | bd9edbb8282a3c1aa40d1a17d9c2950c475b6a75 /rest_framework/tests/pagination.py | |
| parent | 09e4ee7ae332326e77b23bac1539d31e582419e9 (diff) | |
| parent | 8adde506e865005a96cdeff996ec4b5b9bb73a8f (diff) | |
| download | django-rest-framework-6770a5bbafb13a8699e6d459e5cfc4eba0ffdf64.tar.bz2 | |
Merge pull request #743 from tomchristie/fix-datetime-regression
Fix datetime regression
Diffstat (limited to 'rest_framework/tests/pagination.py')
| -rw-r--r-- | rest_framework/tests/pagination.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py index 1a2d68a6..d2c9b051 100644 --- a/rest_framework/tests/pagination.py +++ b/rest_framework/tests/pagination.py @@ -102,7 +102,7 @@ class IntegrationTestPaginationAndFiltering(TestCase): self.objects = FilterableItem.objects self.data = [ - {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date.isoformat()} + {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date} for obj in self.objects.all() ] |
