The same place you put all other CSS stylesheets, JavaScript, images
and other static files. Similarly, they will be served the same way.
There is specific documentation on how to handle the serving of static
files, and you probably want to start by reading that.
> and how to use them in
> the html page?
The same way you use any other JavaScript in any other web page you
have ever built.
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
>> 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 %}
http://code.djangoproject.com/wiki/AJAX/Dojo/RefactoredFormSubmit
Feel free to review/extend this example too, as it's for me a good
reference for building UIs specifically with Dojo, Ajax and Django.
Regards,
Etienne
I remembered seeing this topic mentioned here,
and now there is a solution to it. http://code.google.com/p/dojango/
A quick summary of the main features of dojango:
* a reusable django app that provides dojo
* easy dojo setup inside django
* build an optimized dojo
* some helper functions, i.e. JSON conversion
* switch easily between different dojo versions.
cu
Wolfram