mirror of https://github.com/openspug/spug
F 修复DeployRequest对象的问题
parent
480c85e305
commit
7f99c21e74
|
@ -36,7 +36,7 @@ class DeployRequest(models.Model, ModelMixin):
|
||||||
approve_by = models.ForeignKey(User, models.PROTECT, related_name='+', null=True)
|
approve_by = models.ForeignKey(User, models.PROTECT, related_name='+', null=True)
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f'<DeployRequest app_id={self.app_id} name={self.name}>'
|
return f'<DeployRequest name={self.name}>'
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
db_table = 'deploy_requests'
|
db_table = 'deploy_requests'
|
||||||
|
|
Loading…
Reference in New Issue