aboutsummaryrefslogtreecommitdiffstats
path: root/rest_framework/compat.py
diff options
context:
space:
mode:
Diffstat (limited to 'rest_framework/compat.py')
-rw-r--r--rest_framework/compat.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rest_framework/compat.py b/rest_framework/compat.py
index 2f59be95..09b76368 100644
--- a/rest_framework/compat.py
+++ b/rest_framework/compat.py
@@ -38,7 +38,7 @@ else:
try:
from django.contrib.auth.models import User
except ImportError:
- raise ImportError('User model is not to be found.')
+ raise ImportError(u"User model is not to be found.")
# First implementation of Django class-based views did not include head method