Files
offline-db/content/migrations/0016_alter_externalsource_embed_url.py
Barış Keserandgoogle-labs-jules[bot] cf0441ef71 feat: Add user social features (#353)
- Implement Follow and UserAnimeList models to allow user following and anime list tracking (watchlist, completed, dropped).
- Add `is_public` boolean field to User model for privacy control.
- Create serializers and ViewSets (FollowViewSet, UserAnimeListViewSet) with correct object-level permissions (IsOwnerOrReadOnly) to prevent IDOR vulnerabilities.
- Add `ActivityFeedViewSet` to aggregate recent badge and watch log activities of followed users.
- Add DRF routers in main `urls.py`.
- Include `test_social.py` with comprehensive API tests.
- Resolve migration conflict automatically using `--merge`.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
2026-05-10 20:49:37 +00:00

19 lines
443 B
Python

# Generated by Django 6.0.5 on 2026-05-10 20:28
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("content", "0015_alter_externalsource_embed_url_alter_subtitle_file"),
]
operations = [
migrations.AlterField(
model_name="externalsource",
name="embed_url",
field=models.URLField(help_text="Embed/iframe URL"),
),
]