Saturday, February 5, 2011

Re: Best DRY practices for a view function that will be used by all other views.

On Sat, 2011-02-05 at 00:21 -0800, Ken Chida wrote:
> Is there a better way to do this? Maybe I can use a custom template
> tag?

put it in your base.html - since all your templates extend that (at
least I hope they do), you get it on all pages
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.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