Re: Django json parser

2020-05-30 Thread HJ
you have to do a Queryset inside your view function , something like : @login_required def Home(request): return render(request,'home.html',{}) @login_required def JsonFunction(request): dataset = YourModel.objects.all() data =

Django json parser

2020-05-30 Thread bharat pamnani
I am a beginner in django and i need to build an app which enter some user data and their activity period by creating model i can do that to store in sql database. The problem is i need to display that data in json format any help will be really appreciated Thanks -- You received this