summaryrefslogtreecommitdiff
path: root/app/links
diff options
context:
space:
mode:
authorluxagraf <sng@luxagraf.net>2018-01-21 11:08:43 -0700
committerluxagraf <sng@luxagraf.net>2018-01-21 11:08:43 -0700
commit342e3f0450f2a13fe3f2c99d0cc28d053592293e (patch)
treefb58e7b2b3a1659315162bf7028fd94afd888b6b /app/links
parent7dbb0c01c941f933914ff0f0d5567a4a7ac7e99c (diff)
updated code to work with django 2.0
Diffstat (limited to 'app/links')
-rw-r--r--app/links/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/links/models.py b/app/links/models.py
index 372e860..fe91b1c 100644
--- a/app/links/models.py
+++ b/app/links/models.py
@@ -1,7 +1,7 @@
import requests
import json
from django.template.defaultfilters import striptags
-from django.core.urlresolvers import reverse
+from django.urls import reverse
from django.utils.encoding import force_text
from django.db import models
from django.utils import timezone