diff --git a/beat/web/plotters/serializers.py b/beat/web/plotters/serializers.py index dcfe8a4a235a6ba804535f6506fc40bd6ce263c3..d7f2b0b3df511a8b1e542c25d03a07105d3ac45e 100644 --- a/beat/web/plotters/serializers.py +++ b/beat/web/plotters/serializers.py @@ -39,6 +39,8 @@ from ..libraries.serializers import LibraryReferenceSerializer from django.utils.encoding import smart_text import beat.core.plotter +import beat.core.plotterparameter + import simplejson as json @@ -95,7 +97,7 @@ class DefaultPlotterSerializer(DynamicFieldsSerializer): class PlotterCreationSerializer(CodeCreationSerializer): class Meta(CodeCreationSerializer.Meta): model = Plotter - beat_core_class = beat.core.plotter + beat_core_class = beat.core.plotter.Plotter # ---------------------------------------------------------- @@ -146,7 +148,7 @@ class PlotterParameterCreationSerializer(ContributionCreationSerializer): "description", "fork_of", ] - # beat_core_class = beat.core.PlotterParameter + beat_core_class = beat.core.plotterparameter.Plotterparameter def create(self, validated_data): plotterparameter = None