Skip to content
Snippets Groups Projects
Verified Commit 314765de authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Fix #546: Ensure from_activity field is not required in django's admin

parent 1aa9b557
No related branches found
No related tags found
No related merge requests found
......@@ -41,7 +41,7 @@ class APIModelMixin(models.Model):
mbid = models.UUIDField(unique=True, db_index=True, null=True, blank=True)
uuid = models.UUIDField(unique=True, db_index=True, default=uuid.uuid4)
from_activity = models.ForeignKey(
"federation.Activity", null=True, on_delete=models.SET_NULL
"federation.Activity", null=True, blank=True, on_delete=models.SET_NULL
)
api_includes = []
creation_date = models.DateTimeField(default=timezone.now)
......
Ensure from_activity field is not required in django's admin (#546)
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