django-json-example.py. import json. from .models import MyModel. def get_json(request):. # Return JSON for filtered MyModel objects.
確定! 回上一頁