@register.simple_tag
def disqus_id_for(obj):
 return (u'%s-%s' % (obj._meta.object_name, obj.id))

@ register . simple_tag def disqus_id_for ( obj ) : return ( u'%s-%s' % ( obj . _meta . object_name , obj . id ) )
returns a unique identifier for the object to be used in disqus javascript .