Hello,

I want to return a context of data to the template that contains
information in the models. I want to pass in variables that dictate
what is returned.

Example:
author1.get_books_published_after <some_date>
Then it grabs all the data via a method in the model and returns it.

Should I instead use the custom template tags?
Then the call would be like so??

Example:
get_books_published_after <author> <some_date>
Then it would return all the books for the author that was published
after a certain date.

Can someone explain?

Thanks!!
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to