Tuesday, May 29, 2018

Re: ValueError at /polls/1/vote/

View require that you return an HttpResponse object. Your function does not (it probably even lacks a "return").

You need to return the response back in the view.

On Tue, May 29, 2018 at 8:48 AM, Caleb Bryson <cbryson633@gmail.com> wrote:
Hey i am getting this error now can anyone help me fix this? and what code do you need to see to help out?

--
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 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/a3a72079-74a0-404f-aedd-828597090663%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Julio Biason, Sofware Engineer
AZION  |  Deliver. Accelerate. Protect.
Office: +55 51 3083 8101  |  Mobile: +55 51 99907 0554

--
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 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/CAEM7gE1ReHW9RC31d-2_NotGmhG0JpbYoT7tQYfypQ7YFj4YTA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment