-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #408 from PROCOLLAB-github/feature/flag_for_programs
PRO-383: Flag and filter for projects
- Loading branch information
Showing
3 changed files
with
51 additions
and
10 deletions.
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
partner_programs/migrations/0006_partnerprogram_projects_availability.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,26 @@ | ||
# Generated by Django 4.2.11 on 2024-07-31 14:09 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("partner_programs", "0005_partnerprogram_draft"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="partnerprogram", | ||
name="projects_availability", | ||
field=models.CharField( | ||
choices=[ | ||
("all_users", "Всем пользователям"), | ||
("experts_only", "Только экспертам"), | ||
], | ||
default="all_users", | ||
max_length=25, | ||
verbose_name="Доступность к дочерним проектам", | ||
), | ||
), | ||
] |
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