mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-07 07:15:07 +01:00
Just include comments on document object
This commit is contained in:
parent
727fb38baf
commit
89c639f850
14 changed files with 147 additions and 85 deletions
|
|
@ -652,7 +652,7 @@ class Comment(models.Model):
|
|||
Document,
|
||||
blank=True,
|
||||
null=True,
|
||||
related_name="documents",
|
||||
related_name="comments",
|
||||
on_delete=models.CASCADE,
|
||||
verbose_name=_("document"),
|
||||
)
|
||||
|
|
@ -661,7 +661,7 @@ class Comment(models.Model):
|
|||
User,
|
||||
blank=True,
|
||||
null=True,
|
||||
related_name="users",
|
||||
related_name="comments",
|
||||
on_delete=models.SET_NULL,
|
||||
verbose_name=_("user"),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue