mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-18 15:57:44 +02:00
12 lines
270 B
Python
12 lines
270 B
Python
from rest_framework import serializers
|
|
|
|
from startScan.models import ScannedHost, ScanHistory
|
|
|
|
|
|
class ScanHistorySerializer(serializers.ModelSerializer):
|
|
|
|
class Meta:
|
|
model = ScannedHost
|
|
fields = '__all__'
|
|
# lookup_field = 'scan_history'
|