I have created user profiles for the user and already added
AUTH_PROFILE_MODULE = 'app.ModelName'
But when the user successfully logs in, he/she are redirected to /accounts/profile/ by default.
How to change this? I would like them to go /profile/ and have created a view for them.
def Profile(request):
'''
profile view
'''
return render(request,'profile.html')