We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccda916 commit 9525e71Copy full SHA for 9525e71
App/models.py
@@ -13,9 +13,6 @@ class FileModel(models.Model):
13
timestamp = models.DateTimeField(auto_now_add=True)
14
path = models.FilePathField(path=settings.MEDIA_ROOT, default=settings.MEDIA_ROOT)
15
16
- class Meta:
17
- unique_together = ['file', 'path']
18
-
19
20
@receiver(post_delete, sender=FileModel)
21
def submission_delete(sender, instance, **kwargs):
0 commit comments