mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
10 lines
225 B
Python
10 lines
225 B
Python
import django_filters
|
|
|
|
from assets import models
|
|
|
|
|
|
class AssetFilter(django_filters.FilterSet):
|
|
class Meta:
|
|
model = models.Asset
|
|
fields = ['asset_id', 'description', 'serial_number', 'category', 'status']
|