Show the imports o your file
On Thu, 8 Aug 2019, 18:36 Kasper Laudrup <[email protected] wrote:
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/df720f0c-84aa-7611-bdcd-65793a5bdfea%40stacktrace.dk
> .
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/CAO_yRT3%2BAts9-sv%3DcshvryKywHU%2B2Sqq8MNdg5Hg5zHhz-y3rQ%40mail.gmail.com.