kopia lustrzana https://github.com/wagtail/bakerydemo
Add code comment
rodzic
f7ab88b40f
commit
7cbb0ec053
|
@ -521,6 +521,10 @@ class UserApprovalTaskState(TaskState):
|
||||||
|
|
||||||
|
|
||||||
class UserApprovalTask(Task):
|
class UserApprovalTask(Task):
|
||||||
|
"""
|
||||||
|
Based on https://docs.wagtail.org/en/stable/extending/custom_tasks.html.
|
||||||
|
"""
|
||||||
|
|
||||||
user = models.ForeignKey(
|
user = models.ForeignKey(
|
||||||
settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=False
|
settings.AUTH_USER_MODEL, on_delete=models.SET_NULL, null=True, blank=False
|
||||||
)
|
)
|
||||||
|
|
Ładowanie…
Reference in New Issue