Skip to content

Commit

Permalink
Merge pull request #105 from jjkester/v0.4.3
Browse files Browse the repository at this point in the history
Fix import error on NoReverseMatch
  • Loading branch information
jjkester committed Feb 16, 2017
2 parents c6dfdb6 + d97160f commit cd662fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# 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.
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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',
Expand Down
5 changes: 4 additions & 1 deletion src/auditlog/mixins.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@

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

Expand Down

0 comments on commit cd662fc

Please sign in to comment.