On Fri, 2009-01-30 at 00:57 +0200, Erik Allik wrote: > I'm having a situation in which two of my reusable apps both use > FCKeditor in their admin interface. Since both of them require > FCKeditor library files, I'm confused which one should provide them? > Both? How? What is the idiomatic/standard way of doing this? Should I > instead have them both just assume "{{ MEDIA_URL }}lib/fckeditor/ > fckeditor.js" exists and document this requirement/assumption in the > docs of both apps? > > (This is a general media/static files question, I'm just bringing > FCKeditor as an example.)
I'd do the latter. Whether you use MEDIA_URL or some other URL for static, unchanging media is up to you. MEDIA_URL is the brother of MEDIA_ROOT and is required for file upload support, but it isn't necessarily going to be the only place you use to serve static files. Regards, Malcolm --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---