From 342e3f0450f2a13fe3f2c99d0cc28d053592293e Mon Sep 17 00:00:00 2001 From: luxagraf Date: Sun, 21 Jan 2018 11:08:43 -0700 Subject: updated code to work with django 2.0 --- app/links/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/links') 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 -- cgit v1.2.3-70-g09d2