On Fri, Jan 2, 2009 at 1:01 AM, Alan <alanwil...@gmail.com> wrote: > Hi Russell > Thank you very much for your explanation. > I understand that being an apps reusable, should it be so its templatetags > and so, probably, the best place is in apps folder. > However, in my case, where all my apps needs the same templatetags, I would > like to have the option of defining templatetags under project folder > instead of an apps folder, just for the matter of organisation (which I > called 'consistency').
You're missing my point. The _project_ isn't a unit of reusability, so a project level directory is the wrong place to put this. If you have a bunch of template tags that you want to share between multiple apps, and it doesn't seem appropriate to tie the template tags to one specific app, then create a _new_ application to store just the template tags. The markup and webdesign contrib apps are examples of exactly this practice. These apps don't define models or views, they just provide useful templating resources that can be reused. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---