Skip to content
Snippets Groups Projects

Refactor update creation api

Merged Samuel GAIST requested to merge refactor_update_creation_api into master
All threads resolved!
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -30,8 +30,9 @@ from rest_framework import serializers
from .models import Report
from ..common.models import Contribution
from ..ui.templatetags.markup import restructuredtext
from ..common.utils import validate_restructuredtext
from ..common import fields as beat_fields
from ..ui.templatetags.markup import restructuredtext
import simplejson as json
@@ -189,7 +190,7 @@ class ReportCreationFailedException(Exception):
class ReportCreationSerializer(serializers.ModelSerializer):
content = serializers.JSONField()
content = beat_fields.JSONField()
experiments = serializers.ListField(child=serializers.CharField())
class Meta:
Loading