Django: TemplateSyntaxError: Could not parse the remainder

You don't need to use () to call methods in templates, you can just use f_values.items. This notation works for lists, tuples, and functions.

For example, if you have these Python values:

    lst = ['a', 'b', 'c']
    di = {'a': 'a'}
    class Foo:
       def bar(self): pass
    foo = Foo()

in your template, you can access them like this:

    {{ lst.0 }}
    {{ di.a }}
    {{ foo.bar }}

For your code:

      {% for (key_o, value_o) in f_values.items %}
            <tr class="row {% cycle 'odd' 'even' %}">
                {% for (key_i, val_i) in value_o.items %}
                    <td class="tile ">
                        {{ val_i }} 
                    </td>
                {% endfor %}    
            </tr>
        {% endfor %}