On Mar 22, 4:15 pm, Roy <royt...@gmail.com> wrote:
> That would require the extra files be hosted on my media url though. I
> want to be able to link js externally so I can use stuff like YUI,
> etc. without having to host it.

Not at all - if you pass in an absolute path, it is left alone. See:
http://docs.djangoproject.com/en/dev/topics/forms/media/#paths-in-media-definitions

> Also, is it possible to do it without registering a new Admin class?
> I'm not sure if it's possible to just override a template somewhere.

I don't know what you mean by a 'new' admin class. You can just put
this option in the existing admin class for your model.
But yes, you can override the change_form.html template for your model
and put the <script> tag in the extrahead block.
--
DR.
--~--~---------~--~----~------------~-------~--~----~
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