Friday, October 1, 2010

Re: Separating application media from project media

On Fri, Oct 1, 2010 at 10:06 AM, bruno desthuilliers
<bruno.desthuilliers@gmail.com> wrote:
> On 30 sep, 22:45, Carles Barrobés <car...@barrobes.com> wrote:
>> If the ideal solution for you is different sites, one authentication,
>
> I don't think that's the case, and FWIW the OP's layout makes perfect
> sense to me. His point is that even while all apps are in a same
> project and share a common auth, they are otherwise totally (or
> mostly ?) independent so it doesn't really makes sense to put all the
> media together in the project's /static/ dir.
>
> FWIW, even for a more canonical "integrated" website / webapp composed
> of distinct django apps, "assets" (app specific css, js, images and
> whatnot) management can sometimes be a pain. My own solution so far is
> to keep all app-specific static stuff in a /medias/<appname> subir of
> the app and manually symlink this to the project's /static dir, but
> I'd really enjoy a better solution.

I`m using the same solution using symlinks, but that`s much harder to
achieve on windows because you have to install third party software to
make symlinks so it doesn`t make the app easy to port to that
platform. Doesn`t matter much to me, but we should work to make our
apps portable.


--
Mvh/Best regards,
Thomas Weholt
http://www.weholt.org

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment