fix position of edits onload(like lists and texts)
This commit is contained in:
parent
04d35b43db
commit
d45173b0da
2 changed files with 27 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ class Edit(models.Model):
|
|||
|
||||
created = models.DateTimeField(auto_now_add=True)
|
||||
modified = models.DateTimeField(auto_now=True)
|
||||
user = models.ForeignKey(User)
|
||||
user = models.ForeignKey(User, related_name='edits')
|
||||
name = models.CharField(max_length=255)
|
||||
|
||||
status = models.CharField(max_length=20, default='private')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue