2008-08-10 01:35:19 +08:00
|
|
|
from django.contrib.admin.views.decorators import staff_member_required
|
|
|
|
from django.http import HttpResponse
|
|
|
|
|
2011-05-02 00:46:02 +08:00
|
|
|
@staff_member_required
|
2008-08-10 01:35:19 +08:00
|
|
|
def secure_view(request):
|
2008-08-24 14:34:18 +08:00
|
|
|
return HttpResponse('%s' % request.POST)
|