Renamed further remnants of app to food_planner

This commit is contained in:
2020-02-19 12:44:33 +01:00
parent 67777e8b6a
commit 37b88f321e
3 changed files with 5 additions and 5 deletions

View File

@ -31,7 +31,7 @@ def index(request) -> HttpResponse:
@transaction.atomic
def register(request) -> HttpResponse:
if request.user.is_authenticated:
return redirect('app:index')
return redirect('food_planner:index')
user_form = UserCreationForm(data=request.POST or None)
profile_form = ProfileForm(data=request.POST or None, files=request.FILES or None)