Permalink
Browse files

Compat

  • Loading branch information...
nautilebleu committed Oct 16, 2015
1 parent 82c8ade commit 5a53b878a083926e51dcb7e6ca56dcffced931eb
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/django_fields/fields.py
@@ -9,7 +9,6 @@
from django.forms import fields
from django.db import models
from django.conf import settings
from django.utils.encoding import smart_str, force_unicode
from django.utils.translation import ugettext_lazy as _
from Crypto import Random
from Crypto.Random import random
@@ -31,8 +30,10 @@
if sys.version_info[0] == 3:
PYTHON3 = True
from django.utils.encoding import smart_str, force_text as force_unicode
else:
PYTHON3 = False
from django.utils.encoding import smart_str, force_unicode
class BaseEncryptedField(models.Field):

0 comments on commit 5a53b87

Please sign in to comment.