These are chat archives for django/django
Hi, all :) can someone help me with relationship tables?
I see this:
class TrackSerializer(serializers.ModelSerializer): class Meta: model = Track fields = ('order', 'title', 'duration') class AlbumSerializer(serializers.ModelSerializer): tracks = TrackSerializer(many=True, read_only=True) class Meta: model = Album fields = ('album_name', 'artist', 'tracks')
This is select tracks on album
What I want to do is select the album on tracks, how I can do this? (edited)
it is like, displaying the videos with user profile_photo
If someone know please mention me :)
@override_settingsdecorator doesn't seem to respond.