-
Notifications
You must be signed in to change notification settings - Fork 167
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* inital setup * code fix * 3rd page code * backend code * frontend * backend-2 * frontend 2 * package.json * team form * team profile page * stuck * restore old ui * migration fixes * tested backend * form all 3 steps and profile page * edit and delete api integration * call for testing * step 3 and teams page * backend for all teams * migration files * url change for all teams * rebased code * UI changes * UX fixes * edit-add projects api change * rebase * trying to fix not clickable issue * adding team_enabled flag * Revert "adding team_enabled flag" This reverts commit 9bc54af. * updating the TEAM_ENABLED flag
- Loading branch information
Showing
53 changed files
with
19,328 additions
and
162 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
16 changes: 16 additions & 0 deletions
16
zubhub_backend/zubhub/creators/migrations/0011_delete_creatorgroup.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,16 @@ | ||
# Generated by Django 3.2 on 2023-07-27 18:38 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('creators', '0010_merge_20220921_2226'), | ||
] | ||
|
||
operations = [ | ||
migrations.DeleteModel( | ||
name='CreatorGroup', | ||
), | ||
] |
50 changes: 50 additions & 0 deletions
50
zubhub_backend/zubhub/creators/migrations/0012_auto_20230817_1533.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,50 @@ | ||
# Generated by Django 3.2 on 2023-08-17 15:33 | ||
|
||
from django.conf import settings | ||
import django.contrib.postgres.indexes | ||
import django.contrib.postgres.search | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
import django.utils.timezone | ||
import uuid | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('creators', '0011_delete_creatorgroup'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='CreatorGroup', | ||
fields=[ | ||
('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False, unique=True)), | ||
('groupname', models.CharField(error_messages={'unique': 'A group with that groupname already exists.'}, max_length=150, unique=True, verbose_name='groupname')), | ||
('description', models.CharField(blank=True, max_length=10000, null=True)), | ||
('created_on', models.DateTimeField(default=django.utils.timezone.now)), | ||
('projects', models.JSONField(default=list)), | ||
('projects_count', models.IntegerField(blank=True, default=0)), | ||
('avatar', models.URLField(blank=True, max_length=1000, null=True)), | ||
('search_vector', django.contrib.postgres.search.SearchVectorField(null=True)), | ||
('followers_count', models.IntegerField(blank=True, default=0)), | ||
('badges', models.ManyToManyField(blank=True, related_name='creator_group', to='creators.Badge')), | ||
('followers', models.ManyToManyField(blank=True, related_name='following_group', to=settings.AUTH_USER_MODEL)), | ||
('members', models.ManyToManyField(blank=True, related_name='group_members', to='creators.CreatorGroup')), | ||
('tags', models.ManyToManyField(blank=True, related_name='creator_group', to='creators.CreatorTag')), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='CreatorGroupMembership', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('role', models.CharField(choices=[('admin', 'Admin'), ('member', 'Member')], default='member', max_length=10)), | ||
('group', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='memberships', to='creators.creatorgroup')), | ||
('member', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='group_memberships', to=settings.AUTH_USER_MODEL)), | ||
], | ||
), | ||
migrations.AddIndex( | ||
model_name='creatorgroup', | ||
index=django.contrib.postgres.indexes.GinIndex(fields=['search_vector'], name='creators_cr_search__188da8_gin'), | ||
), | ||
] |
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
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
Oops, something went wrong.