#15231: Admin DateTimeShortcuts + Inlines performance
------------------------------------------------+---------------------------
               Reporter:  fabianbuechler        |         Owner:  nobody
                 Status:  new                   |     Milestone:        
              Component:  django.contrib.admin  |       Version:  SVN   
             Resolution:                        |      Keywords:        
           Triage Stage:  Accepted              |     Has patch:  1     
    Needs documentation:  0                     |   Needs tests:  0     
Patch needs improvement:  1                     |  
------------------------------------------------+---------------------------

Comment (by fabianbuechler):

 Replying to [comment:2 airstrike]:
 > Personally, I couldn't get the admin media prefix to work until I made a
 small change to the javascript. Maybe there's something wrong with my
 setup, but now I have:
 >
 > {{{
 >    admin_media_prefix: $('body').data('admin_media_prefix'
 > }}}

 the {{{admin_media_prefix}}} you refer to is being set in the
 {{{base.html}}} template. Before it was set as
 {{{window.__admin_media_prefix__}}}, with my patch it is
 {{{$('bdoy').data('admin_media_prefix')}}}.

 Can you check if the patch modified your {{{base.html}}} template or if
 you have overwritten it?

 Otherwise, thanks for reviewing!

-- 
Ticket URL: <http://code.djangoproject.com/ticket/15231#comment:3>
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to