forked from 0x2620/pandora
remove text/news, now in news
This commit is contained in:
parent
2308279801
commit
ab581b79f6
3 changed files with 1 additions and 58 deletions
|
|
@ -14,7 +14,7 @@ class News(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='news')
|
||||
|
||||
title = models.TextField()
|
||||
content = models.TextField()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue