diff options
| author | Tom Christie | 2013-02-15 01:12:03 -0800 |
|---|---|---|
| committer | Tom Christie | 2013-02-15 01:12:03 -0800 |
| commit | 6dd867c8fe2673d1c57e503c35ca630188e98e19 (patch) | |
| tree | 80f2d90070df208c505d35fb4e444c654f2efa6b /rest_framework/compat.py | |
| parent | e919cb1b57a27f581c07080e341a86421df78a88 (diff) | |
| parent | 5a5df18d182d43d993da8f0b5d4a8888e868fcae (diff) | |
| download | django-rest-framework-6dd867c8fe2673d1c57e503c35ca630188e98e19.tar.bz2 | |
Merge pull request #660 from pelme/timefield
Added a serializer TimeField
Diffstat (limited to 'rest_framework/compat.py')
| -rw-r--r-- | rest_framework/compat.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py index 9636b9c1..3fd865f8 100644 --- a/rest_framework/compat.py +++ b/rest_framework/compat.py @@ -349,7 +349,7 @@ except ImportError: # dateparse is ALSO new in Django 1.4 try: - from django.utils.dateparse import parse_date, parse_datetime + from django.utils.dateparse import parse_date, parse_datetime, parse_time except ImportError: import datetime import re |
