Hey,

By default, Django's Admin moves the jQuery namespace into a custom one,
django.jQuery, to prevent conflicts[1]. So core of django admin won't get
affected until and unless you override django.jQuery.

I understand why developers plug in latest jquery version, but why Django
> is stuck with jQuery 1.4?


As you can see on Github[2], last change to some javascript files was 2
years ago. That's why admin still has jQuery 1.4.2 which was released on
February 19, 2010 [4].

Migrating to a newer release will require a lot of effort (which may not be
worth it), that's why Django is stuck with jQuery 1.4.2.

Further, many people use django-grappelli[5] and django-admin-tools[6]
nowadays to replace default admin interface.

By the way, django-markitup uses settings.JQUERY_URL[3]. If you want to use
a specific version of jQuery then you can specify that in settings.py.

Links:
1.
https://github.com/django/django/blob/1.4.3/django/contrib/admin/static/admin/js/jquery.init.js
2.
https://github.com/django/django/tree/master/django/contrib/admin/static/admin/js
3. http://goo.gl/Mhwlj
4. http://en.wikipedia.org/wiki/JQuery#Release_history
5. http://www.grappelliproject.com/
6. http://django-admin-tools.readthedocs.org/en/latest/

Sincerely,
Pankaj Singh
http://about.me/psjinx


On Sun, Feb 17, 2013 at 1:11 PM, Владимир Паль <mail.v...@gmail.com> wrote:

> Hi, I have following problem.
> It is quite often that django admin plugins include their own version of
> jquery and it is not possible to use them together.
>
> For example: django-markitup and django-sortable. Is there any way to get
> around the issue? Do I need to rewrite plugin(s) to use noConflict?
>
> I understand why developers plug in latest jquery version, but why Django
> is stuck with jQuery 1.4?
>
>  --
> 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-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
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-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to