Merge branch 'develop' of gurusainath:makeplane/plane into chore-admin-file-structure

This commit is contained in:
gurusainath 2024-05-03 19:50:14 +05:30
commit 33944b2bb8
2 changed files with 12 additions and 0 deletions

View File

@ -213,6 +213,16 @@ class Migration(migrations.Migration):
}, },
), ),
migrations.RunPython(migrate_user_profile), migrations.RunPython(migrate_user_profile),
migrations.AddField(
model_name="project",
name="end_date",
field=models.DateField(blank=True, null=True),
),
migrations.AddField(
model_name="project",
name="start_date",
field=models.DateField(blank=True, null=True),
),
migrations.RemoveField( migrations.RemoveField(
model_name="user", model_name="user",
name="billing_address", name="billing_address",

View File

@ -115,6 +115,8 @@ class Project(BaseModel):
related_name="default_state", related_name="default_state",
) )
archived_at = models.DateTimeField(null=True) archived_at = models.DateTimeField(null=True)
start_date = models.DateField(null=True, blank=True)
end_date = models.DateField(null=True, blank=True)
def __str__(self): def __str__(self):
"""Return name of the project""" """Return name of the project"""