Is it possible, within the template framework to pass or rename
variables to inherited templates.

Example:
Say I have an app defining a Location and an Entry. The Entry has a
foreignrfield to Location.
Using generic views a part of the templates/appname/location_detail is
included from templates/appname/location_map.
Say I want to include the same kind of map on a templates/appname/
entry_detail. Is it possible reuse the templates/appname/location_map
in this template? The location data is now accessible through
object.location, rather than as object.

I guess this is kind of a common task and guess that there might be an
easy sollution to this that I have overlooked.

Hans
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
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