Feb-24-2018, 08:02 PM
(This post was last modified: Feb-24-2018, 08:04 PM by gilesgerman.)
Thanks so much this is now working how I wanted it to.
I sincerely apologise about the multiple posts thanks for merging them for me. I am new to this so just learning. I will also try harder to get the Python Code in the correct font.
I am now trying to open up the home page and then click a button to get to the investor page where they will put their details in. I am looking in the views.py file see below does this look correct as I can't get the home page to show when I run the server.
I sincerely apologise about the multiple posts thanks for merging them for me. I am new to this so just learning. I will also try harder to get the Python Code in the correct font.
I am now trying to open up the home page and then click a button to get to the investor page where they will put their details in. I am looking in the views.py file see below does this look correct as I can't get the home page to show when I run the server.
def home(request): return render(request,"home.html") def create(request): if request.method == 'POST': name = request.POST.get("name") return render(request,"create.html")