The current path, users/index.html, didn't match any of these.
The current path, users/index.html, didn't match any of these.
from django.shortcuts import render
from appTwo.forms import NewUserForm
def index(request):
return render(request,'index.html')
def users(request):
form = NewUserForm()
if request.method == "POST":
form = NewUserForm(request.POST)
if form.is_valid():
form.save(commit=True)
return index(request)
else:
print('ERROR FORM INVALID')
return render(request,'users.html',{'form':form})
Also in HTML:
- bootstrap grid
- swift webview load html
- vuejs click
- how to start using jQuery CDN
- html label for
- & in html
- <!DOCTYPE html> <html> <head> <title>Page TitlePage TitlePage TitlePage TitlePage TitlePage TitleMy WebsitePage TitlePage Title
- class html
- html color inverter
- html phone number
- post form value html
- html cheat sheet
- game engine
- input location html
- html side menu
- html multi checkbox list
- html parser javascript
- Movie Name -inurl:(htm|html|php|pls|txt) intitle:index.of “last modified” (mp4|wma|aac|avi)
- html em tag
- how to play youtube videos in html
- embed youtube channel in html
- login form in html
- modal lightning salesforce
- link javascript to html