Skip to content

Commit

Permalink
adding project description
Browse files Browse the repository at this point in the history
  • Loading branch information
Jackson Barbosa committed Dec 6, 2023
1 parent e924f72 commit d865bb0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
18 changes: 18 additions & 0 deletions connect/common/migrations/0083_auto_20231206_0415.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.20 on 2023-12-06 04:15

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('common', '0082_auto_20231005_1945'),
]

operations = [
migrations.AddField(
model_name='project',
name='description',
field=models.CharField(blank=True, max_length=1000, null=True, verbose_name='Project description with the context'),
),
]
1 change: 1 addition & 0 deletions connect/common/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,7 @@ class Meta:
null=True,
blank=True
)
description = models.CharField("Project description with the context", null=True, blank=True, max_length=1000)

def __str__(self):
return f"{self.uuid} - Project: {self.name} - Org: {self.organization.name}"
Expand Down

0 comments on commit d865bb0

Please sign in to comment.