Skip to content

Commit

Permalink
Finished release 0.1.10.
Browse files Browse the repository at this point in the history
  • Loading branch information
erikvw committed Apr 8, 2017
2 parents d51125e + 040990e commit b98df6e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions django_crypto_fields/settings.py
Expand Up @@ -13,10 +13,10 @@
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
import os

from unipath import Path
from pathlib import PurePath

# BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
BASE_DIR = Path(os.path.dirname(os.path.realpath(__file__)))
BASE_DIR = os.path.dirname(os.path.realpath(__file__))

# Quick-start development settings - unsuitable for production
# See https://docs.djangoproject.com/en/1.8/howto/deployment/checklist/
Expand Down Expand Up @@ -90,7 +90,7 @@
'default': {
'ENGINE': 'django.db.backends.mysql',
'OPTIONS': {
'read_default_file': os.path.join(BASE_DIR.ancestor(1), 'etc', 'default.cnf'),
'read_default_file': os.path.join(BASE_DIR, 'etc', 'default.cnf'),
},
'HOST': '',
'PORT': '',
Expand All @@ -117,6 +117,6 @@
# https://docs.djangoproject.com/en/1.8/howto/static-files/

STATIC_URL = '/static/'
GIT_DIR = BASE_DIR.ancestor(1)
KEY_PATH = os.path.join(BASE_DIR.ancestor(1), 'crypto_fields')
GIT_DIR = str(PurePath(BASE_DIR).parent)
KEY_PATH = os.path.join(str(PurePath(BASE_DIR).parent), 'crypto_fields')
AUTO_CREATE_KEYS = DEBUG
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -11,7 +11,7 @@

setup(
name='django-crypto-fields',
version='0.1.9',
version='0.1.10',
author=u'Erik van Widenfelt',
author_email='ew2789@gmail.com',
packages=find_packages(),
Expand Down

0 comments on commit b98df6e

Please sign in to comment.