Re: form.is_valid() is always return false please help

2019-08-23 Thread Shubham Chauhan
On Fri, 23 Aug 2019, 02:50 Thomas Lockhart,  wrote:

> Post your form code please.
>
> - Tom
>
> On Aug 22, 2019, at 12:56 PM, Shubham Chauhan <
> shubham.chauhan...@gmail.com> wrote:
>
> form.is_valid() is always return false please help
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/206e042a-738b-4491-8f4d-9c172f61e56d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/206e042a-738b-4491-8f4d-9c172f61e56d%40googlegroups.com?utm_medium=email_source=footer>
> .
> 
>
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/12E7B9A4-E03E-4371-B6AA-1E97A8173C87%40gmail.com
> <https://groups.google.com/d/msgid/django-users/12E7B9A4-E03E-4371-B6AA-1E97A8173C87%40gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALJ%2BVo73YUoNWUr_QrpPZfSaepjCdJ9paLEAp60Bp7T%2BRoOoVw%40mail.gmail.com.


form.is_valid() is always return false please help

2019-08-22 Thread Shubham Chauhan
form.is_valid() is always return false please help 

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/206e042a-738b-4491-8f4d-9c172f61e56d%40googlegroups.com.


Slack community for Django

2019-07-17 Thread Shubham Chauhan
Its a good idea 

-- 
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/e19cd746-b7bf-4611-b67f-6847ceed01a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: The view todo.views.homepage didn't return an HttpResponse object. It returned None instead.

2019-07-01 Thread Shubham Chauhan
Thank you so much

On Mon, 1 Jul 2019, 22:57 Kasper Laudrup,  wrote:

> Hi Shubham,
>
> On 01/07/2019 18.52, Shubham Chauhan wrote:
> > hi folks, i'm beginner in django and i try to make a to-do list app and
> > this error comes please help me out
> >
>
> In Python, if a function doesn't return anything, it will implicitly
> return "None".
>
> If you look at your "homepage" function, you actually have three places
> the function can return, but only two explicit returns (which return an
> HttpResponse as the error message informs you is required).
>
> Knowing that, try to consider what will happen if the form is *not*
> valid, ie. the call to "form.is_valid()" returns false.
>
> Hope that can point you in the right direction.
>
> I could just give you answer, but if you want to learn, I think it's
> better you try to figure it out yourself.
>
> 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+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/1eabf835-5986-3f91-886d-f7b01f7cce08%40stacktrace.dk
> .
> 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/CALJ%2BVo7hKBzVO6QNG3nC3X1BY5PmW5w%2B%2BJubtc1MjQ9WfnmeNQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


unable to import django packages

2019-06-20 Thread Shubham Chauhan
from django.urls import path,include

-- 
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/95b3ae5f-59fc-4a40-8f19-ac4c993d5eeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.