diff options
| author | Tom Christie | 2013-03-06 04:25:35 -0800 | 
|---|---|---|
| committer | Tom Christie | 2013-03-06 04:25:35 -0800 | 
| commit | 6135df56c68a34c61ca8a0d0b2d450502cbc3c75 (patch) | |
| tree | 0724ec928119877e48682089a996ba99b287947b /rest_framework/tests/pagination.py | |
| parent | 17e0ff0fcde23f4bc6734b75f7fff734ae77c26d (diff) | |
| parent | d260f1ec15d5aa3085fa74118382bcf2fd752dca (diff) | |
| download | django-rest-framework-6135df56c68a34c61ca8a0d0b2d450502cbc3c75.tar.bz2 | |
Merge pull request #703 from tomchristie/datetime-formats
Datetime formats
Diffstat (limited to 'rest_framework/tests/pagination.py')
| -rw-r--r-- | rest_framework/tests/pagination.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rest_framework/tests/pagination.py b/rest_framework/tests/pagination.py index 6b9970a6..472ffcdd 100644 --- a/rest_framework/tests/pagination.py +++ b/rest_framework/tests/pagination.py @@ -112,8 +112,8 @@ class IntegrationTestPaginationAndFiltering(TestCase):          self.objects = FilterableItem.objects          self.data = [ -        {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date} -        for obj in self.objects.all() +            {'id': obj.id, 'text': obj.text, 'decimal': obj.decimal, 'date': obj.date.isoformat()} +            for obj in self.objects.all()          ]          self.view = FilterFieldsRootView.as_view() | 
