Source

django-feature-request / feature_request / templatetags / feature_request_tags.py

Full commit
from django.template import Library

from feature_request.models import FeatureRequest

register = Library()

@register.inclusion_tag('feature_request/tags/list_requests.html')
def list_feature_requests():
    feature_requests = FeatureRequest.objects.get_features()   
    return { 'feature_requests' : feature_requests, }