bug fix
drf url 去掉末尾的 "/"
trailing_slash=False
from . import views
from rest_framework.routers import SimpleRouter
user_url = SimpleRouter(trailing_slash=False)
user_url.register(r'users', views.UserAPIView)
urlpatterns = [
]
urlpatterns += user_url.urls