摘要:
decorators(装饰器) 1. require_http_methods 在django.views.decorators.http中,可以用来限制请求的权限。 require_http_methods(request_method_list), 这样只有request_method_list 阅读全文
摘要:
decorators(装饰器) 1. require_http_methods 在django.views.decorators.http中,可以用来限制请求的权限。 require_http_methods(request_method_list), 这样只有request_method_list 阅读全文
|