Changes between Version 2 and Version 3 of Ticket #28368
- Timestamp:
- Jul 6, 2017, 8:12:44 AM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28368 – Description
v2 v3 28 28 cf.name is 'ft4' here indicating to me that the second object creation is overwriting the parent record entry since the primary_key 'sha' field is the same for both object creations. If you get rid of the primary_key attribute in the 'sha' field and instead put 'unique=True' then this works as I think it should. Seems like a bug to me, or am I using inheritance incorrectly here? 29 29 30 I am using Django v.1.11.3 and Python 3.6.1 with MariaDB 5.5.52 on CentOS 7.30 I am using Django 1.11.3 and Python 3.6.1 with MariaDB 5.5.52 on CentOS 7.