OK. AJAX is the solution.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-
Thank you for your help.
I need all the data.
Le lundi 3 novembre 2014 00:41:43 UTC+1, Vijay Khemlani a écrit :
>
> Do you really need all the data in that dictionary for the page? You could
> request the necessary parts by AJAX after the page has loaded.
>
> On Sun, Nov 2, 2014 at 6:59 PM, Matla
Do you really need all the data in that dictionary for the page? You could
request the necessary parts by AJAX after the page has loaded.
On Sun, Nov 2, 2014 at 6:59 PM, Matlau Issu wrote:
> I mean, in my views.py i do :
> return render(request, 'myapp/detail.html', { pydic_jsonized :
> json.du
I mean, in my views.py i do :
return render(request, 'myapp/detail.html', { pydic_jsonized :
json.dumps(python_dict) } )
then in my html, i get pydic_jsonized with
var json = {{ pydic_jsonized }};
But pydic_jsonized is just furiously big, and is written as harded coded
data in the
4 matches
Mail list logo