Django form insert record instead of update record
问题 I am having some issues trying to update some records in Django: When i try to update some record, the app insert a new one, I don't know why i have this behavior. Model class DetalleRecepcion(models.Model): id_proveedor = models.ForeignKey(Proveedor,db_column='id_proveedor',primary_key=True, verbose_name='Proveedor') anio = models.IntegerField( null=False) mes = models.IntegerField(verbose_name='Mes') fecha_recepcion = models.DateField(verbose_name='Fecha Recepcion') usuario = models