Skip to content

Commit

Permalink
Merge pull request carltongibson#199 from slafs/ddt-version-fix
Browse files Browse the repository at this point in the history
django debug toolbar version fix
  • Loading branch information
Carlton Gibson committed Dec 3, 2014
2 parents 05376f5 + 80c704d commit dab2a02
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions django_filters/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
__version__ = '0.9.0'


def get_version(version):
def parse_version(version):
'''
'0.1.2-dev' -> (0, 1, 2, 'dev')
'0.1.2' -> (0, 1, 2)
Expand All @@ -21,4 +21,4 @@ def get_version(version):
ret.append(p)
return tuple(ret)

VERSION = get_version(__version__)
VERSION = parse_version(__version__)

0 comments on commit dab2a02

Please sign in to comment.