#11478: jsi18n loading from templates within django/contrib/admin/templates/ shouldn't use "../"s ------------------------------------------------------+--------------------- Reporter: greatlemer <greatlemer+dja...@gmail.com> | Owner: nobody Status: new | Milestone: Component: django.contrib.admin | Version: SVN Keywords: | Stage: Unreviewed Has_patch: 0 | ------------------------------------------------------+--------------------- When creating a custom change_form.html for use on a different url to the usual create item locations I discovered that the jsi18n scripts were failing to load (side effecting various elements on the page such as many to many selectors collapsable fieldsets). I tracked this down to the fact that the javascript was being loaded relative to the location of the page. After further investigation I noticed that the following templates also used the same style of importing for javascript (all within the django/contrib/admin/templates directory). admin/auth/user/change_password.html admin/change_form.html admin/change_list.html
Is it possible that these imports could be altered to use some sort of url reversal? The svn version I have checked this against was 11231 although it seems to be there in 1.0.2 also. -- Ticket URL: <http://code.djangoproject.com/ticket/11478> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-updates@googlegroups.com To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-updates?hl=en -~----------~----~----~----~------~----~------~--~---