mirror of
https://github.com/i701/sarlink-portal-api.git
synced 2025-06-28 04:13:58 +00:00
Add has_a_pending_payment field to Device model and update related views for payment handling
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m38s
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m38s
This commit is contained in:
@ -10,7 +10,13 @@ class CreateDeviceSerializer(serializers.ModelSerializer):
|
||||
|
||||
class Meta:
|
||||
model = Device
|
||||
fields = ["name", "mac", "registered", "blocked_by"]
|
||||
fields = [
|
||||
"name",
|
||||
"mac",
|
||||
"registered",
|
||||
"blocked_by",
|
||||
]
|
||||
depth = 2
|
||||
|
||||
|
||||
class BlockDeviceSerializer(serializers.ModelSerializer):
|
||||
|
Reference in New Issue
Block a user