-
-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Tags field to the project models (#2605)
* added the tag feature * added tags field * migrations
- Loading branch information
1 parent
23bfd40
commit d2486e6
Showing
5 changed files
with
90 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Generated by Django 5.0.7 on 2024-08-06 07:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("website", "0122_rename_user_agent_string_ip_agent"), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name="Tag", | ||
fields=[ | ||
( | ||
"id", | ||
models.AutoField( | ||
auto_created=True, | ||
primary_key=True, | ||
serialize=False, | ||
verbose_name="ID", | ||
), | ||
), | ||
("name", models.CharField(max_length=255)), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name="issue", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, related_name="tags", to="website.tag"), | ||
), | ||
] |
37 changes: 37 additions & 0 deletions
37
website/migrations/0124_company_tags_domain_tags_project_tags_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Generated by Django 5.0.7 on 2024-08-06 15:24 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
dependencies = [ | ||
("website", "0123_tag_issue_tags"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="company", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, to="website.tag"), | ||
), | ||
migrations.AddField( | ||
model_name="domain", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, to="website.tag"), | ||
), | ||
migrations.AddField( | ||
model_name="project", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, to="website.tag"), | ||
), | ||
migrations.AddField( | ||
model_name="userprofile", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, to="website.tag"), | ||
), | ||
migrations.AlterField( | ||
model_name="issue", | ||
name="tags", | ||
field=models.ManyToManyField(blank=True, to="website.tag"), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters