Skip to content

Instantly share code, notes, and snippets.

View felipewove's full-sized avatar
🐈

Felipe Brigatto felipewove

🐈
View GitHub Profile
@aipi
aipi / example_ajax_view.py
Last active August 30, 2017 16:21
Django Ajax Get Request (Example code)
# It is just a example and not completed code
from django.http import JsonResponse
def ix_detail_pix(request, *args):
""" Ajax PIX info if clicked on PIX """
pix_uuid = request.GET['pix']
data = {}
pix_infos = get_pix_amounts_info(pix_uuid)