Re: 'WSGIRequest' object is not callable error generate

2018-01-19 Thread Costja Covtushenko
Hi,

As suggested Etienne you misspelled `render` method.
Please find more information on that 
 
documentation page.

Regards,
Constantine C.

> On Jan 19, 2018, at 2:47 PM, Etienne Robillard  wrote:
> 
> 
> 
> Le 2018-01-19 à 13:53, Amit Kadivar a écrit :
>> 
>> 
>> return request(request,'signup.html',{'form':form})
> 
> That line looks incorrect to me. You need to use render_response or a similar 
> function... I don't remember the exact function name, however.
> 
> Cheers,
> 
> Etienne 
> 
>> -- 
>> 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+unsubscr...@googlegroups.com 
>> .
>> To post to this group, send email to django-users@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users 
>> .
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/9a822b59-f3cb-4024-955a-11c8e9ca8a9e%40googlegroups.com
>>  
>> .
>> For more options, visit https://groups.google.com/d/optout 
>> .
> 
> -- 
> Etienne Robillard
> tkad...@yandex.com 
> https://www.isotopesoftware.ca/ 
> 
> -- 
> 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+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to django-users@googlegroups.com 
> .
> Visit this group at https://groups.google.com/group/django-users 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/070df736-c935-4b3c-2fd4-20e05c4c6631%40yandex.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/A8FDED7A-E009-4EBF-B0CD-388563D7EF12%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: 'WSGIRequest' object is not callable error generate

2018-01-19 Thread Etienne Robillard



Le 2018-01-19 à 13:53, Amit Kadivar a écrit :



return request(request,'signup.html',{'form':form})


That line looks incorrect to me. You need to use render_response or a 
similar function... I don't remember the exact function name, however.


Cheers,

Etienne


--
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+unsubscr...@googlegroups.com 
.
To post to this group, send email to django-users@googlegroups.com 
.

Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9a822b59-f3cb-4024-955a-11c8e9ca8a9e%40googlegroups.com 
.

For more options, visit https://groups.google.com/d/optout.


--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/

--
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/070df736-c935-4b3c-2fd4-20e05c4c6631%40yandex.com.
For more options, visit https://groups.google.com/d/optout.


'WSGIRequest' object is not callable error generate

2018-01-19 Thread Amit Kadivar
Hello..

I am making a signup page in django 2.0. generate the error " 'WSGIRequest' 
object is not callable ".
please give me a solution for that .
error show in following line 

return request(request,'signup.html',{'form':form})

-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9a822b59-f3cb-4024-955a-11c8e9ca8a9e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.