Skip to content

Commit

Permalink
* Add missing on_delete handler for the export model.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgroff committed Jan 16, 2018
1 parent a766b34 commit 9f63fe4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion django_kala/projects/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,5 +144,5 @@ def __str__(self):

class Export(models.Model):
details = JSONField(default={})
user = models.ForeignKey(User)
user = models.ForeignKey(User, on_delete=models.CASCADE)
key = models.CharField(max_length=255)

0 comments on commit 9f63fe4

Please sign in to comment.