18 lines
496 B
Python
18 lines
496 B
Python
import django_tables2 as tables
|
|
|
|
|
|
class ComputersTable(tables.Table):
|
|
name = tables.Column('Computer', linkify=True)
|
|
description = tables.Column()
|
|
serialnumber = tables.Column()
|
|
owner = tables.Column()
|
|
manufacturer = tables.Column()
|
|
model = tables.Column()
|
|
location = tables.Column()
|
|
user = tables.Column('User', linkify=True)
|
|
installation_date = tables.Column()
|
|
os = tables.Column()
|
|
|
|
class Meta:
|
|
template_name = 'django_tables2/semantic.html'
|