diff --git a/core/__pycache__/admin.cpython-311.pyc b/core/__pycache__/admin.cpython-311.pyc index 62a7133..d2887a7 100644 Binary files a/core/__pycache__/admin.cpython-311.pyc and b/core/__pycache__/admin.cpython-311.pyc differ diff --git a/core/__pycache__/models.cpython-311.pyc b/core/__pycache__/models.cpython-311.pyc index 66b8924..81ce8f7 100644 Binary files a/core/__pycache__/models.cpython-311.pyc and b/core/__pycache__/models.cpython-311.pyc differ diff --git a/core/__pycache__/views.cpython-311.pyc b/core/__pycache__/views.cpython-311.pyc index 1ac6b93..d339be6 100644 Binary files a/core/__pycache__/views.cpython-311.pyc and b/core/__pycache__/views.cpython-311.pyc differ diff --git a/core/admin.py b/core/admin.py index d64dec8..5b5fd97 100644 --- a/core/admin.py +++ b/core/admin.py @@ -11,6 +11,6 @@ class ValueTagAdmin(admin.ModelAdmin): @admin.register(Profile) class ProfileAdmin(admin.ModelAdmin): - list_display = ('user', 'professional_headline', 'transition_status', 'location_city') + list_display = ('user', 'gamer_tag', 'primary_game', 'rank', 'location_city') filter_horizontal = ('intents', 'value_tags') diff --git a/core/migrations/0014_rename_accountability_streak_profile_win_streak_and_more.py b/core/migrations/0014_rename_accountability_streak_profile_win_streak_and_more.py new file mode 100644 index 0000000..7620050 --- /dev/null +++ b/core/migrations/0014_rename_accountability_streak_profile_win_streak_and_more.py @@ -0,0 +1,27 @@ +# Generated by Django 5.2.7 on 2026-02-17 19:36 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core', '0013_alter_profile_gamer_tag_alter_profile_platform_and_more'), + ] + + operations = [ + migrations.RenameField( + model_name='profile', + old_name='accountability_streak', + new_name='win_streak', + ), + migrations.RemoveField( + model_name='profile', + name='transition_status', + ), + migrations.AlterField( + model_name='post', + name='post_type', + field=models.CharField(choices=[('lfg', 'Looking for Group'), ('highlight', 'Match Highlight'), ('strategy', 'Strategy/Meta'), ('climb_update', 'Rank Progress'), ('hardware', 'Setup/Hardware'), ('vibe_check', 'Vibe Check')], default='lfg', max_length=20), + ), + ] diff --git a/core/migrations/__pycache__/0014_rename_accountability_streak_profile_win_streak_and_more.cpython-311.pyc b/core/migrations/__pycache__/0014_rename_accountability_streak_profile_win_streak_and_more.cpython-311.pyc new file mode 100644 index 0000000..28ad5e0 Binary files /dev/null and b/core/migrations/__pycache__/0014_rename_accountability_streak_profile_win_streak_and_more.cpython-311.pyc differ diff --git a/core/models.py b/core/models.py index b4007b3..40fb62a 100644 --- a/core/models.py +++ b/core/models.py @@ -45,17 +45,9 @@ class Profile(models.Model): ('nintendo', 'Nintendo Switch'), ('mobile', 'Mobile'), ] - TRANSITION_CHOICES = [ - ('none', 'Stable'), - ('post-divorce', 'Post-Divorce'), - ('relocating', 'Relocating'), - ('career-change', 'Career Change'), - ('new-in-town', 'New in Town'), - ] user = models.OneToOneField(User, on_delete=models.CASCADE, related_name='profile') professional_headline = models.CharField(max_length=255, blank=True) - transition_status = models.CharField(max_length=50, choices=TRANSITION_CHOICES, default='none') bio = models.TextField(blank=True) location_city = models.CharField(max_length=100, blank=True) intents = models.ManyToManyField(Intent, blank=True) @@ -71,7 +63,7 @@ class Profile(models.Model): preferred_role = models.CharField(max_length=100, blank=True) # Momentum & Engagement - accountability_streak = models.IntegerField(default=0) + win_streak = models.IntegerField(default=0) # Auth & Security is_email_verified = models.BooleanField(default=False) @@ -304,17 +296,17 @@ class Block(models.Model): class Post(models.Model): POST_TYPE_CHOICES = [ - ('reflection', 'Reflection'), - ('looking_for', 'Looking For'), - ('offering', 'Offering'), - ('event_invite', 'Event Invite'), - ('progress_update', 'Progress Update'), - ('skill_share', 'Skill Share'), + ('lfg', 'Looking for Group'), + ('highlight', 'Match Highlight'), + ('strategy', 'Strategy/Meta'), + ('climb_update', 'Rank Progress'), + ('hardware', 'Setup/Hardware'), + ('vibe_check', 'Vibe Check'), ] author = models.ForeignKey(User, on_delete=models.CASCADE, related_name='posts') content = models.TextField() image = models.ImageField(upload_to='posts/', blank=True, null=True) - post_type = models.CharField(max_length=20, choices=POST_TYPE_CHOICES, default='reflection') + post_type = models.CharField(max_length=20, choices=POST_TYPE_CHOICES, default='lfg') timestamp = models.DateTimeField(auto_now_add=True) class Meta: diff --git a/core/templates/base.html b/core/templates/base.html index a985d7d..62c62e5 100644 --- a/core/templates/base.html +++ b/core/templates/base.html @@ -14,7 +14,7 @@ - + {% block head %}{% endblock %} @@ -22,7 +22,7 @@