summaryrefslogtreecommitdiff
path: root/app/figments
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/figments
parent7dbb0c01c941f933914ff0f0d5567a4a7ac7e99c (diff)
updated code to work with django 2.0
Diffstat (limited to 'app/figments')
-rw-r--r--app/figments/build.py2
-rw-r--r--app/figments/models.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/figments/build.py b/app/figments/build.py
index 07720ac..b656ab0 100644
--- a/app/figments/build.py
+++ b/app/figments/build.py
@@ -1,4 +1,4 @@
-from django.core.urlresolvers import reverse
+from django.urls import reverse
from builder.base import BuildNew
diff --git a/app/figments/models.py b/app/figments/models.py
index b76d8d5..69cf9a0 100644
--- a/app/figments/models.py
+++ b/app/figments/models.py
@@ -1,7 +1,7 @@
import datetime
from itertools import chain
from django.db import models
-from django.core.urlresolvers import reverse
+from django.urls import reverse
from django.contrib.sitemaps import Sitemap
from django.contrib.syndication.views import Feed
from django.db.models.signals import post_save