Add code comment

pull/489/head
Thibaud Colas 2024-05-17 13:18:10 +01:00
rodzic f7ab88b40f
commit 7cbb0ec053
1 zmienionych plików z 4 dodań i 0 usunięć

Wyświetl plik

@ -521,6 +521,10 @@ class UserApprovalTaskState(TaskState):
class UserApprovalTask(Task):
"""
Based on https://docs.wagtail.org/en/stable/extending/custom_tasks.html.
"""
user = models.ForeignKey(
settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=False
)