algochannel bug
This commit is contained in:
parent
244c220cc7
commit
f0ea7955d4
|
@ -235,4 +235,7 @@ class TestViewSet(CustomGenericViewSet):
|
|||
if 'event' in datas:
|
||||
from apps.ecm.models import Event
|
||||
Event.objects.get_queryset(all=True).delete(soft=False)
|
||||
if 'opm' in datas:
|
||||
from apps.opm.models import Operation
|
||||
Operation.objects.all().delete()
|
||||
return Response()
|
||||
|
|
|
@ -115,7 +115,7 @@ class RemindSerializer(CustomModelSerializer):
|
|||
class AlgoChannelCreateSerializer(CustomModelSerializer):
|
||||
class Meta:
|
||||
model = AlgoChannel
|
||||
fields = ['algo', 'vchannel', 'snap_on']
|
||||
fields = ['algo', 'vchannel', 'always_on']
|
||||
|
||||
|
||||
class AlgoChannelCreatesSerializer(CustomModelSerializer):
|
||||
|
|
Loading…
Reference in New Issue