I have integrated an api. I wrote add functionality by using simple form and
saving the details and effecting on api. But, while writing update
functionality, there is requirement to send data from views file to templates.
Because, I didn't use any models. How to pass data to templates from
return HttpResponse(this_answer,
> content_type='application/json')
>
> hope this helps!
>
> Den tis 9 apr. 2019 kl 13:30 skrev sairanganadh Narayana <
> ssaai...@gmail.com >:
>
>> I'm trying to get run model.objects.filter(id=2) from javascript an
I am trying to run model.objects.filter(id=2) through javascript and show
results in popup. I am unable to find the solution. Please guide me with
solution or any alternative to get this.
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups
"Django
I'm trying to get run model.objects.filter(id=2) from javascript and show
on database. I am unable to get solution for this. Please guide me solution
for this or alternative for this.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
4 matches
Mail list logo