Enzo Yair

cambio de request.user

@@ -45,7 +45,6 @@ class EdictoSerializer(serializers.ModelSerializer): @@ -45,7 +45,6 @@ class EdictoSerializer(serializers.ModelSerializer):
45 request = self.context['request'] 45 request = self.context['request']
46 if request.method == 'POST': 46 if request.method == 'POST':
47 data['usuario'] = request.user 47 data['usuario'] = request.user
48 - data['usuario_movimiento'] = request.user  
49 else: 48 else:
50 pass 49 pass
51 data['usuario_movimiento'] = request.user 50 data['usuario_movimiento'] = request.user