Skip to content

Commit

Permalink
Fetch Project Details Dynamically from GitHub API ContriHUB#177
Browse files Browse the repository at this point in the history
  • Loading branch information
samimshoaib01 committed Oct 19, 2024
1 parent 4496403 commit 226e1e7
Show file tree
Hide file tree
Showing 4 changed files with 83 additions and 524 deletions.
2 changes: 1 addition & 1 deletion contrihub/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
EMAIL_USE_SSL = config('EMAIL_USE_SSL', default=False, cast=bool)

AVAILABLE_PROJECTS = config('AVAILABLE_PROJECTS', default="ContriHUB-24",
cast=lambda v: [s.strip() for s in v.split(',')])
cast=lambda v: [s.strip() for s in v.split(';')])
LABEL_MENTOR = config('LABEL_MENTOR', default="mentor")
LABEL_LEVEL = config('LABEL_LEVEL', default="level")
LABEL_POINTS = config('LABEL_POINTS', default="points")
Expand Down
18 changes: 18 additions & 0 deletions project/migrations/0042_alter_issue_levelcolor.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 4.1 on 2024-10-19 11:22

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
('project', '0041_issue_levelcolor'),
]

operations = [
migrations.AlterField(
model_name='issue',
name='levelcolor',
field=models.PositiveSmallIntegerField(choices=[(0, '#f2f2f2'), (4, '#39c0ed'), (1, '#00b74a'), (2, '#ffa900'), (3, '#f93154')], default=1, verbose_name='Level Color'),
),
]
Loading

0 comments on commit 226e1e7

Please sign in to comment.