Hello, I have been working on some forms which has some ajax behaivour, and I use some css and javascripts. This can be used inside a form with {{ form.media }}, which outputs the html tags necessary to import all the javascript and css to get all the fields working, and without duplicates if the field appears more than one time in the page.
But when I use the {{ form.media }} more than once (imagine a for is generated for each element of a list and using includes or template tags) I don't know how to get just one tag for each media. Or when I need this behaivour to happen outside a form (with a template tag), don't know if this is possible. I mean, the declaration of the media and this is automatically included just when needed. thanks, Robert Ramírez Vique Computer Science Engineer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---