Thursday, August 8, 2019

SyntaxError: positional argument follows keyword argument

Hi, 

New to Django for the expression below, i get

def breg(request):
form = UserCreationForm()
return render(request=request, template_name="source/breg.html", {'forms':form})

 I get the following error

SyntaxError: positional argument follows keyword argument

 Please can anyone help?

Best,

K

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/dcd90d10-389f-4abc-a162-c0108aa95711%40googlegroups.com.

No comments:

Post a Comment