Add explicit primary keys
This commit is contained in:
@@ -56,6 +56,7 @@ class CustomRole(KaehmyBaseRole):
|
||||
|
||||
class CommentParent(models.Model):
|
||||
|
||||
id = models.AutoField(primary_key=True)
|
||||
name = models.CharField(_("Name"), max_length=255, default="")
|
||||
email = models.EmailField(_("Email"), default="")
|
||||
timestamp = models.DateTimeField(_("Timestamp"), default=timezone.now)
|
||||
|
||||
Reference in New Issue
Block a user