Did you try dojango? http://code.google.com/p/dojango/
Dojango is a reusable django application that helps you to use the
client-side framework dojo within your django project.

* It provides capabilites to easily switch between several dojo
versions and sources (e.g. aol, google, local)
* Delivers helping utilities, that makes the development of rich
internet applications in combination with dojo more comfortable.
* It makes the building of your own packed dojo release easier.

-- 
cu

Wolfram

http://uxebu.com - the AJAX experts
You need AJAX, RIA, JavaScript and all this modern stuff? We got it!



On Sun, Mar 8, 2009 at 7:32 PM, raj <rajeeshrn...@gmail.com> wrote:
>
> To make use of any popular js framework, I've the following settings:
> MEDIA_ROOT = '/home/raj/django/my_project/media'
> MEDIA_URL = '/media/'
> ADMIN_MEDIA_PREFIX = '/media/'
>
> After copying dojo.js to '/home/raj/django/my_project/media/js', I
> edit my custom made change_form.html to include the following lines:
>
> {% block extrahead %}{{ block.super }}
> <script type="text/javascript" src="../../../jsi18n/"></script>
> <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery.js"></
> script>
> <script type="text/javascript" src="{{ MEDIA_URL }}js/dojo.js"></
> script>
> <script type="text/javascript">
>        group = dojo.byId('id_receipts-0-group');
>        alert(group);
> </script>
> {% endblock %}
>
> This causes a js error, stating no dojo is defined. Similar error is
> raised for jquery also. What went wrong with the above 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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to