mirror of
https://github.com/netbox-community/netbox.git
synced 2024-05-10 07:54:54 +00:00
14 lines
256 B
Python
14 lines
256 B
Python
from rest_framework import serializers
|
|
|
|
from extras.models import Dashboard
|
|
|
|
__all__ = (
|
|
'DashboardSerializer',
|
|
)
|
|
|
|
|
|
class DashboardSerializer(serializers.ModelSerializer):
|
|
class Meta:
|
|
model = Dashboard
|
|
fields = ('layout', 'config')
|