On 9/26/06, Gábor Farkas <[EMAIL PROTECTED]> wrote: > > hi, > > i many times use the object's content-type's "model" attribute, > when generating URLs for certain actions. > > and i many times need to get the given object's content-type > in the template. > > unfortunately i haven't found any way to do it, so i: > > - either do it in the view > - or i add a content-type property to every model of mine > > are there any other ideas how to do it?
Use a custom filter ? -- Derek --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---