Skip to content

Commit

Permalink
feat: 私有化部署 --story=119894675
Browse files Browse the repository at this point in the history
1. 去除后台任务不补充通用字段
  • Loading branch information
0RAJA committed Dec 7, 2024
1 parent 517197c commit 35c4d54
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/backend/core/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,6 @@ def save(self, *args, **kwargs):
non-SQL backends), respectively. Normally, they should not be set.
"""

# 后台任务不处理
if is_backend():
return super().save(*args, **kwargs)

operator = get_request_username()
if not self.created_by:
self.created_by = operator
Expand Down

0 comments on commit 35c4d54

Please sign in to comment.