from django.shortcuts import render
import django_tables2 as tables
from django_tables2.columns.linkcolumn import LinkColumn
from .models import Transaccion


class TablaTransaccion(tables.Table):
    BotonEliminar = tables.TemplateColumn(
        '''<a href="">Eliminar producto</a>''',
        verbose_name = 'BotonEliminar')
    class Meta:
        model = Transaccion
        fields = (
            'BotonEliminar',
        )
    
    def render_compra(self, value):
        return"<%s>" % value


90f6938a02455aedcf4b42ad11347298dc266830
<mask token>


class TablaTransaccion(tables.Table):
    <mask token>


    class Meta:
        model = Transaccion
        fields = 'BotonEliminar',
    <mask token>

<mask token>


class TablaTransaccion(tables.Table):
    <mask token>


    class Meta:
        model = Transaccion
        fields = 'BotonEliminar',

    def render_compra(self, value):
        return '<%s>' % value

<mask token>


class TablaTransaccion(tables.Table):
    BotonEliminar = tables.TemplateColumn('<a href="">Eliminar producto</a>',
        verbose_name='BotonEliminar')


    class Meta:
        model = Transaccion
        fields = 'BotonEliminar',

    def render_compra(self, value):
        return '<%s>' % value

from django.shortcuts import render
import django_tables2 as tables
from django_tables2.columns.linkcolumn import LinkColumn
from .models import Transaccion


class TablaTransaccion(tables.Table):
    BotonEliminar = tables.TemplateColumn('<a href="">Eliminar producto</a>',
        verbose_name='BotonEliminar')


    class Meta:
        model = Transaccion
        fields = 'BotonEliminar',

    def render_compra(self, value):
        return '<%s>' % value

from django.shortcuts import render
import django_tables2 as tables
from django_tables2.columns.linkcolumn import LinkColumn
from .models import Transaccion


class TablaTransaccion(tables.Table):
    BotonEliminar = tables.TemplateColumn(
        '''<a href="">Eliminar producto</a>''',
        verbose_name = 'BotonEliminar')
    class Meta:
        model = Transaccion
        fields = (
            'BotonEliminar',
        )
    
    def render_compra(self, value):
        return"<%s>" % value

