class Sale(models.Model):
    contract_id = models.CharField(max_length=255,primary_key=True)
    company = models.CharField(max_length=255)
    def __unicode__
        return self.contract_id
_______________________________
you can add contract_id and company in "Add Page", but in the "Change Page",the contract_id is readonly,you can only change the company
 
     
    