mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
parent
7f264e02f4
commit
cfcf4b3605
123 changed files with 212 additions and 161 deletions
|
@ -1,4 +1,5 @@
|
|||
from functools import wraps
|
||||
from unittest import TestCase
|
||||
|
||||
from django.contrib.admin.views.decorators import staff_member_required
|
||||
from django.contrib.auth.decorators import login_required, permission_required, user_passes_test
|
||||
|
@ -6,7 +7,6 @@ from django.http import HttpResponse, HttpRequest, HttpResponseNotAllowed
|
|||
from django.middleware.clickjacking import XFrameOptionsMiddleware
|
||||
from django.utils.decorators import method_decorator
|
||||
from django.utils.functional import allow_lazy, lazy, memoize
|
||||
from django.utils.unittest import TestCase
|
||||
from django.views.decorators.cache import cache_page, never_cache, cache_control
|
||||
from django.views.decorators.clickjacking import xframe_options_deny, xframe_options_sameorigin, xframe_options_exempt
|
||||
from django.views.decorators.http import require_http_methods, require_GET, require_POST, require_safe, condition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue