fix redirect new_feed view

This commit is contained in:
Trent Palmer 2021-02-24 21:54:19 -08:00
parent dfeca6a325
commit f3408879c4

View File

@ -50,7 +50,7 @@ def new_feed(request):
feed = form.save(commit=False) feed = form.save(commit=False)
feed.user = request.user feed.user = request.user
feed.save() feed.save()
return redirect('audio:new_feed') return redirect('audio:home')
else: else:
form = FeedForm() form = FeedForm()
return render(request, 'base_form.html', {'form': form}) return render(request, 'base_form.html', {'form': form})