Re: checkng for uniqueness of a field in django Admin

2019-01-28 Thread 'Amitesh Sahay' via Django users
If that field has unique values, probably you can use that fileld as primary key.  Regards, Amitesh Sahay91-750 797 8619 On Monday, 28 January, 2019, 7:18:35 PM IST, 'Odile Lambert' via Django users wrote: Hello In django admin, I have a model with a model fiel "tech_number" wh

checkng for uniqueness of a field in django Admin

2019-01-28 Thread 'Odile Lambert' via Django users
Hello In django admin, I have a model with a model fiel "tech_number" which must be unique across the table. If I do not check the uniqueness, it raises a Django integrity error. According to the documentation it sounds normal. I checked the uniqueness of the" t