Can now import library tracks from front-end

This commit is contained in:
Eliot Berriot 2018-04-12 23:03:26 +02:00
parent 2cef58e6c1
commit 3a31248a3d
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
7 changed files with 249 additions and 4 deletions

View file

@ -19,5 +19,5 @@ class TranscodeForm(forms.Form):
choices=BITRATE_CHOICES, required=False)
track_file = forms.ModelChoiceField(
queryset=models.TrackFile.objects.all()
queryset=models.TrackFile.objects.exclude(audio_file__isnull=True)
)