Skip to content

Commit

Permalink
Merge pull request #42 from bltravis/master
Browse files Browse the repository at this point in the history
Prepping for 0.2.3 release.
  • Loading branch information
bltravis committed Jul 4, 2014
2 parents c6e8216 + 500f5db commit e046a8c
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ This project uses Travis for continuous integration: [![Build Status](https://se

ChangeLog
---------
### 0.2.3

* Added: Ability to specify `secret_key` as an argument to the field constructor (via [markkennedy](https://github.com/svetlyak40wt/django-fields/pull/40 "Issue #40")).
* Added: `EncryptedUSPhoneNumberField` and `EncryptedUSSocialSecurityNumberField` now try to import from the standalone django-localflavor before falling back to the version included in Django (this is necessary to support Django 1.6 and newer) (via [mjacksonw](https://github.com/svetlyak40wt/django-fields/pull/36 "Issue #33")).

### 0.2.2

* Fixed: Django admin needs to be able to create blank instances of the fields in order to create a new model. This broke with `BaseEncryptedNumberField`. (via [defrex](https://github.com/svetlyak40wt/django-fields/pull/32 "Issue #32"))
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
from setuptools import setup, find_packages

version = '0.2.3'

setup(
name = 'django-fields',
version = '0.2.2',
version = version,
description = 'Django-fields is an application which includes different kinds of models fields.',
keywords = 'django apps tools collection',
license = 'New BSD License',
Expand Down
10 changes: 10 additions & 0 deletions src/django_fields/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from pkg_resources import get_distribution, DistributionNotFound
import os.path

try:
_dist = get_distribution('django-fields')
except DistributionNotFound:
__version__ = 'Please install this project with setup.py'
else:
__version__ = _dist.version
VERSION = __version__ # synonym

0 comments on commit e046a8c

Please sign in to comment.