decorators import public @public def someview(request): # do some work #... For class based views (decorator). from django.utils.
確定! 回上一頁