from django import template
from tracker import models
register = template.Library()


@register.inclusion_tag('country_stats.html')
def display_country(object_id):
    data = models.CountryStatistic.objects.get(id=object_id).data_serialized
    return {'data': data}

7db22da0ea6ab614087adb28895a1b29db2cc5a0
<mask token>

<mask token>


@register.inclusion_tag('country_stats.html')
def display_country(object_id):
    data = models.CountryStatistic.objects.get(id=object_id).data_serialized
    return {'data': data}

<mask token>
register = template.Library()


@register.inclusion_tag('country_stats.html')
def display_country(object_id):
    data = models.CountryStatistic.objects.get(id=object_id).data_serialized
    return {'data': data}

from django import template
from tracker import models
register = template.Library()


@register.inclusion_tag('country_stats.html')
def display_country(object_id):
    data = models.CountryStatistic.objects.get(id=object_id).data_serialized
    return {'data': data}
