def get_location(self, obj):
if not obj.city and not obj.country:<EOL><INDENT>return None<EOL><DEDENT>elif obj.city and obj.country:<EOL><INDENT>return '<STR_LIT>' % (obj.city, obj.country)<EOL><DEDENT>elif obj.city or obj.country:<EOL><INDENT>return obj.city or obj.country<EOL><DEDENT>
return user's location