On Sat, Mar 8, 2008 at 2:52 PM, DuncanM <[EMAIL PROTECTED]> wrote: > And I have a home page that I would like to display a "widget" (5 most > relevant of each) on that home page... > In the current situation I have created the view in the Events > application. How would I create a view external to all apps that I > can add all the necessary code in to make my home template?
Generally people use template tags for this. For example, here's an application which includes a tag that can fetch objects from any model you have installed: http://code.google.com/p/django-template-utils/ -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---