Migrate pagevote and bookmark to use content_type
This commit is contained in:
parent
64495be799
commit
36e27321f7
19 changed files with 285 additions and 87 deletions
|
@ -299,6 +299,8 @@ class Contest(models.Model):
|
|||
help_text=_("Number of digits to round points to."),
|
||||
)
|
||||
comments = GenericRelation("Comment")
|
||||
pagevote = GenericRelation("PageVote")
|
||||
bookmark = GenericRelation("BookMark")
|
||||
|
||||
@cached_property
|
||||
def format_class(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue