Updated StatusMedia model to match form signature
This commit is contained in:
parent
d3d5ac19f9
commit
a1bdcda695
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class Activity(models.Model):
|
|||
|
||||
class StatusMedia(models.Model):
|
||||
status = models.ForeignKey(Status, models.CASCADE)
|
||||
media = models.FileField(get_upload_path)
|
||||
file = models.FileField(get_upload_path)
|
||||
|
||||
class StatusActivity(models.Model):
|
||||
status = models.ForeignKey(Status, models.CASCADE)
|
||||
|
|
Loading…
Reference in a new issue