mirror of https://github.com/jumpserver/jumpserver
				
				
				
			fix: add periodic_display to read_only_fields in Job serializer
							parent
							
								
									67f3341310
								
							
						
					
					
						commit
						5c61a11d82
					
				|  | @ -54,7 +54,7 @@ class JobSerializer(BulkOrgResourceModelSerializer, PeriodTaskSerializerMixin, W | |||
|     class Meta: | ||||
|         model = Job | ||||
|         read_only_fields = [ | ||||
|             "id", "date_last_run", "date_created", | ||||
|             "id", "date_last_run", "date_created", "periodic_display", | ||||
|             "date_updated", "average_time_cost", "created_by", "material" | ||||
|         ] | ||||
|         fields_m2m = ['variable'] | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	 wangruidong
						wangruidong