Skip to content
Snippets Groups Projects
Commit 93f239d8 authored by Jean-Baptiste's avatar Jean-Baptiste
Browse files

update: add user cascade

parent f6c30789
No related branches found
No related tags found
No related merge requests found
Pipeline #909 passed with stage
in 1 minute and 26 seconds
...@@ -135,7 +135,7 @@ class LDPSource(models.Model): ...@@ -135,7 +135,7 @@ class LDPSource(models.Model):
class LDNotification(models.Model): class LDNotification(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL) user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.deletion.CASCADE)
author = models.URLField() author = models.URLField()
object = models.URLField() object = models.URLField()
type = models.CharField(max_length=255) type = models.CharField(max_length=255)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment