mirror of
https://github.com/django/django.git
synced 2025-10-27 23:56:08 +00:00
Refs #36075 -- Used field in pk_fields over field.primary_key.
This commit is contained in:
@@ -56,3 +56,4 @@ class TimeStamped(models.Model):
|
||||
pk = models.CompositePrimaryKey("id", "created")
|
||||
id = models.SmallIntegerField(unique=True)
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
text = models.TextField(default="", blank=True)
|
||||
|
||||
Reference in New Issue
Block a user