Skip to content
This repository has been archived by the owner on Jan 20, 2020. It is now read-only.

Commit

Permalink
Fix django < 1.5 smart_text import
Browse files Browse the repository at this point in the history
Sorry, looks like I overlooked this in 899b309.
  • Loading branch information
meshy committed Jan 23, 2014
1 parent f403fe4 commit 77de78a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion dbarray/fields.py
Expand Up @@ -2,7 +2,10 @@

from django.core.exceptions import FieldError, ValidationError
from django.db import models
from django.utils.encoding import smart_text
try:
from django.utils.encoding import smart_text
except ImportError:
from django.utils.encoding import smart_unicode as smart_text
from collections import deque

PY2 = sys.version_info[0] == 2
Expand Down

0 comments on commit 77de78a

Please sign in to comment.