chore(api): use named argument for on_delete
This commit is contained in:
parent
7ff59e272c
commit
1e83a91b5e
12 changed files with 134 additions and 39 deletions
|
@ -26,7 +26,7 @@ class Webstream(models.Model):
|
|||
|
||||
|
||||
class WebstreamMetadata(models.Model):
|
||||
instance = models.ForeignKey("Schedule", models.DO_NOTHING)
|
||||
instance = models.ForeignKey("Schedule", on_delete=models.DO_NOTHING)
|
||||
start_time = models.DateTimeField()
|
||||
liquidsoap_data = models.CharField(max_length=1024)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue