diff options
| author | Tom Christie | 2013-02-04 20:55:35 +0000 | 
|---|---|---|
| committer | Tom Christie | 2013-02-04 20:55:35 +0000 | 
| commit | b052c92ac38f90e5b56cfd128cd4a488713c048e (patch) | |
| tree | e7dc554b870a989644152728aaddb901b8cf92f0 /rest_framework/views.py | |
| parent | b82227e517bb7baced840b29d04a545a7b7557ae (diff) | |
| download | django-rest-framework-b052c92ac38f90e5b56cfd128cd4a488713c048e.tar.bz2 | |
Cleanup imports
Mostly adding `from __future__ import unicode_literals` everywhere.
Diffstat (limited to 'rest_framework/views.py')
| -rw-r--r-- | rest_framework/views.py | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/rest_framework/views.py b/rest_framework/views.py index ac9b3385..ef2b5f92 100644 --- a/rest_framework/views.py +++ b/rest_framework/views.py @@ -1,8 +1,7 @@  """  Provides an APIView class that is used as the base of all class-based views.  """ - -import re +from __future__ import unicode_literals  from django.core.exceptions import PermissionDenied  from django.http import Http404  from django.utils.html import escape @@ -13,6 +12,7 @@ from rest_framework.compat import View, apply_markdown  from rest_framework.response import Response  from rest_framework.request import Request  from rest_framework.settings import api_settings +import re  def _remove_trailing_string(content, trailing): | 
