diff options
author | luxagraf <sng@luxagraf.net> | 2018-01-21 11:08:43 -0700 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2018-01-21 11:08:43 -0700 |
commit | 342e3f0450f2a13fe3f2c99d0cc28d053592293e (patch) | |
tree | fb58e7b2b3a1659315162bf7028fd94afd888b6b /app/links | |
parent | 7dbb0c01c941f933914ff0f0d5567a4a7ac7e99c (diff) |
updated code to work with django 2.0
Diffstat (limited to 'app/links')
-rw-r--r-- | app/links/models.py | 2 |
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 |