Thursday, August 8, 2019

Re: SyntaxError: positional argument follows keyword argument

Hi Kean,

On 08/08/2019 17.59, Kean wrote:
> 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?
>

This is not really something special to Django. This is pretty basic
Python. Maybe something like this will help:

https://www.programiz.com/python-programming/function-argument

Kind regards,

Kasper Laudrup

--
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/df720f0c-84aa-7611-bdcd-65793a5bdfea%40stacktrace.dk.

No comments:

Post a Comment