I think the problematic part is " create_user = UserCreationForm(request.
POST or None)"
Most FBV for forms start with the "if request.method == 'POST" and then
continue to fill the form. You can set the "None" after the if statement
instead of before everything else.
I am not sure that the or NO
how to use javascript in django...please tell me
On Fri, 23 Nov 2018 at 18:51, Yavin Aalto Arba wrote:
> I think the problematic part is " create_user = UserCreationForm(request.
> POST or None)"
>
> Most FBV for forms start with the "if request.method == 'POST" and then
> continue to fill the f
Hi Pradeep,
On 23/11/2018 18.56, Pradeep Singh wrote:
how to use javascript in django...please tell me
You don't use javascript in Django. There are some Python modules for
executing javascript code from your Python code, but why would you want
to do that?
You're probably talking about wr
3 matches
Mail list logo