**reverse无法逆向解析**
问题相关代码,
urlpatterns = {
path('happy/', views.happy, name='users'),
path('sad/', views.sad, name='sad'),
path('play/', views.play, name='play'),
path('reverse/', views.reverse_test)
}
#views.py导入的关于reverse的包
from django.urls import reverse
def reverse_test(requests):
print(1) #可以打印出来1
path_ = reverse("sad")
print(path_)
return HttpResponse(path_)