[Solved] I have python syntax error in django project


You are making mistake here

user = User.objects.create_user{
                username=request.POST["username"], password = request.POST["password"]

Try this

user = User.objects.create_user(username=request.POST["username"],password = request.POST["password"])

2

solved I have python syntax error in django project