Skip to content

Commit

Permalink
Fix FK parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
mbourqui committed Dec 25, 2017
1 parent c99213c commit 963c973
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions constrainedfilefield/tests/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ class TestContainer(models.Model):
class TestElement(models.Model):
container = models.ForeignKey(
TestContainer,
on_delete=models.CASCADE,
related_name='test_elements')
the_file = ConstrainedFileField(
null=True,
Expand Down

0 comments on commit 963c973

Please sign in to comment.