Feature: Correct url and include format for django2

This commit is contained in:
winkidney
2020-07-17 13:28:59 +08:00
parent bfc48c028e
commit e8d15badd2
2 changed files with 3 additions and 3 deletions

View File

@@ -4,8 +4,8 @@ from django.conf import settings
from django.contrib import messages
from django.contrib.auth import authenticate, login, logout
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect, HttpResponseBadRequest, HttpResponse
from django.urls import reverse
from django.utils.functional import lazy
from rest_framework import mixins, routers
from rest_framework.permissions import BasePermission