Merge pull request #105 from jjkester/v0.4.3

Fix import error on NoReverseMatch
This commit is contained in:
Jan-Jelle Kester 2017-02-16 22:29:13 +01:00 committed by GitHub
commit cd662fc529
3 changed files with 6 additions and 3 deletions

View file

@ -62,7 +62,7 @@ copyright = u'2017, Jan-Jelle Kester'
# The short X.Y version.
version = '0.4'
# The full version, including alpha/beta/rc tags.
release = '0.4.2'
release = '0.4.3'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.

View file

@ -2,7 +2,7 @@ from distutils.core import setup
setup(
name='django-auditlog',
version='0.4.2',
version='0.4.3',
packages=['auditlog', 'auditlog.migrations'],
package_dir={'': 'src'},
url='https://github.com/jjkester/django-auditlog',

View file

@ -2,7 +2,10 @@ import json
from django.conf import settings
from django.core import urlresolvers
from django.urls.exceptions import NoReverseMatch
try:
from django.urls.exceptions import NoReverseMatch
except ImportError:
from django.core.urlresolvers import NoReverseMatch
MAX = 75