feat: default state for project (#264)

This commit is contained in:
pablohashescobar 2023-02-14 01:12:32 +05:30 committed by GitHub
parent c6f0990605
commit 97ffdc8124
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 22 deletions

View file

@ -23,6 +23,7 @@ class State(ProjectBaseModel):
default="backlog",
max_length=20,
)
default = models.BooleanField(default=False)
def __str__(self):
"""Return name of the state"""