On 14-Apr-08, at 2:02 PM, Kenneth Gonsalves wrote:

>> How to use dojo toolkit in django project?
>> Where to store the dojo toolkit in the project and how to use them in
>> the html page?
>
> http://www.djangoproject.com/documentation/serialization/

sorry - that is for ajax. Use dojo in django precisely as you use  
javascript in a normal html page. Put a block in the head section of  
your base.html where you can load the dojo libraries - either in  
base.html itself or in the required page.

in base.html:

{% block javascripthere %}
{% endblock %}
</head>

and in the template:
{% block javascripthere %}

load dojo libraries here
{% endblock %}

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/code/




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to