Skip to content

Commit

Permalink
minor import fix
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Aug 23, 2016
1 parent 18b3b40 commit 6dbd1f9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ Macosx installation issue with `pycrypto`. `django-crypto-fields` requires `pycr

CFLAGS="-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -I/usr/local/include" LDFLAGS="-L/usr/local/lib" pip install pycrypto

On Ubuntu first install:

sudo apt-get install build-essential libssl-dev libffi-dev python-dev

Once installed, add to INSTALLED_APPS:

INSTALLED_APPS = (
Expand Down
2 changes: 1 addition & 1 deletion django_crypto_fields/mask_encrypted.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from .constants import RSA, LOCAL_MODE
from .field_cryptor import FieldCryptor
from django_crypto_fields.constants import RSA, LOCAL_MODE


def mask_encrypted(value):
Expand Down

0 comments on commit 6dbd1f9

Please sign in to comment.