(self, validated_data)
| 64 | } |
| 65 | |
| 66 | def create(self, validated_data): |
| 67 | m3u_account = self.context.get("m3u_account") |
| 68 | |
| 69 | # Use the m3u_account when creating the profile |
| 70 | validated_data["m3u_account_id"] = m3u_account.id |
| 71 | |
| 72 | return super().create(validated_data) |
| 73 | |
| 74 | def validate(self, data): |
| 75 | """Custom validation to handle default profiles""" |