Skip to content

Commit b4c4fde

Browse files
Django 2.x compatibility
1 parent 2237710 commit b4c4fde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

autoslug/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
5959
"""
6060
from django.conf import settings
61-
from django.core.urlresolvers import get_callable
61+
from django.urls import get_callable
6262

6363
# use custom slugifying function if any
6464
slugify_function_path = getattr(settings, 'AUTOSLUG_SLUGIFY_FUNCTION', 'autoslug.utils.slugify')

0 commit comments

Comments
 (0)