[Solved] I have python syntax error in django project

[ad_1]

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

[ad_2]

solved I have python syntax error in django project