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