mirror of
https://github.com/TrentSPalmer/trentpalmerdotorg.git
synced 2024-11-22 09:31:29 -08:00
fix redirect new_feed view
This commit is contained in:
parent
dfeca6a325
commit
f3408879c4
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user