These are chat archives for django/django
Ben Finney > <@gitter_sjkenstone:matrix.org> @tanveerobjects_twitter Saleor
how do you compare them? Which one is better at what, and how do you know?
Ben Finney > <@gitter_tanveerobjects_twitter:matrix.org> I want to know about Python Ecommerece or django Ecommerce Which one is better Oscar or Saleor? Please which one I choose to develop Ecommerece Website in Python % Django?
any details about what would make one better than another, for your purpose?
idinstead of the real object.
exercise = serializers.PrimaryKeyRelatedField( queryset=models.Exercise.objects.all())
class RoundExerciseWodListSerializer(serializers.ModelSerializer): metric = serializers.SerializerMethodField() weight_metric = serializers.SerializerMethodField() exercise = ExerciseSerializer() class Meta: model = models.RoundExercise fields = ( 'id', 'metric', 'quantity', 'description', 'weight_metric', 'weight_male', 'weight_female', 'exercise_id', 'exercise', )