You're welcome, Omar. It sounds like you beat me to the punch with
inclusion tags! I can't provide an "official" answer on the topic, but I
do this very practice on all of my projects. As long as the logic is
contained within the appropriate app, I have no problem importing a
templatetag at that la
On Wed, Dec 26, 2012 at 6:07 PM, Jonathan wrote:
> I think you've got the right idea with regard to structure and
> separation of concerns, and my next step would be to write 'recent polls'
> as an inclusion tag so that it can be reused on various templates that
> aren't necessarily directly conc
I think you've got the right idea with regard to structure and
separation of concerns, and my next step would be to write 'recent
polls' as an inclusion tag so that it can be reused on various templates
that aren't necessarily directly concerned with the polls app. This
allows you to maintain the i
Greeting friends,
Let's assume I have a poll app. This 'poll' app uses some generic models
which have been tossed into a 'core' app (ie: Category). Everything
concerning the 'poll' app is working fine, but now i'd like to create an
index page for the entire site. My first intuition was to make the
4 matches
Mail list logo