diff options
| author | Jonas Liljestrand | 2012-11-18 21:12:06 +0100 | 
|---|---|---|
| committer | Jonas Liljestrand | 2012-11-18 21:12:06 +0100 | 
| commit | 91c0249c9d622670252030cb36ea872c08d91471 (patch) | |
| tree | e37de19e9f74a7eb22aeed856e7ffa4b020a73c9 /rest_framework/compat.py | |
| parent | 9f378d0dd44789cb98f3409604d9130d7a0032a8 (diff) | |
| download | django-rest-framework-91c0249c9d622670252030cb36ea872c08d91471.tar.bz2 | |
fixed migration to support django 1.5
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 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 | 
