I'm developing a project on Google AppEngine, using Django templates, so I have to use tags like `{{ aitem.Author }}` to print content within my HTML template.

`Author`, however, can either be a *string* or a *list* object, and I have no way to tell it in advance. When the Author is a list and I try to print it on my template, I get the ugly result of

> 
> Author: **[u'J. K. Rowling', u'Mary GrandPr\xe9']**
> 
> 
> 

Is there any way to handle this kind of scenario (basically printing a field differently depending on its type) effectively? Do I have to rely on custom tags or any other means?