def somefuntion(request):
    if request.method == 'POST':
        log.info('POST applied')
alldata = request.POST
log.debug(alldata)
data = alldata.get('data', '0')
name = alldata.get('name', '0')
log.info('POST name: ' + name)
log.info('POST data: ' + data)
Извлечение элементов из QueryDict