From 77aef2d1edced263e3b74eb0c179630c535ce944 Mon Sep 17 00:00:00 2001 From: Tim Mundt Date: Thu, 19 Sep 2019 11:16:24 +0200 Subject: [PATCH] made compatible with Django 2.0 --- drf_nested_routing/routers.py | 2 +- setup.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/drf_nested_routing/routers.py b/drf_nested_routing/routers.py index db7628b..d128559 100644 --- a/drf_nested_routing/routers.py +++ b/drf_nested_routing/routers.py @@ -1,4 +1,4 @@ -from django.core.urlresolvers import NoReverseMatch +from django.urls import NoReverseMatch from rest_framework import views from rest_framework.reverse import reverse from rest_framework.response import Response diff --git a/setup.py b/setup.py index 4f4b862..3425583 100644 --- a/setup.py +++ b/setup.py @@ -11,8 +11,8 @@ author_email='bredehoeft.sebastian@gmail.com', packages=find_packages(exclude=['tests*']), install_requires=[ - 'django>=1.6', - 'djangorestframework>=3.4.0', + 'django>=2.0', + 'djangorestframework>=3.10.3', ], zip_safe=False, classifiers=[