…
from django.views.decorators.debug import sensitive_post_parameters
@sensitive_post_parameters("password")
def login_view(request):
…
POST:<QueryDict: {u'csrfmiddlewaretoken': [u'F3d71EHWECfavaeK4H7nUTzLwgY07AHT'], u'password': [u'********************'], u'email': [u'aruseni.magiku@gmail.com']}>
…
from django.views.decorators.debug import sensitive_variables
@sensitive_variables("payment_card_id")
def process_payment(request):
…
http://habrahabr.ru/post/164935/
No comments:
Post a Comment