Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-08 Thread Avitab Ayan Sarmah
Sure

On Tue 8 May, 2018, 12:08 AM Jani Tiainen,  wrote:

> Also next time please post exceptions as a text. Images are really hard to
> read specially on mobile device.
>
> ma 7. toukokuuta 2018 klo 20.34 Avitab Ayan Sarmah 
> kirjoitti:
>
>> i got the error thank you. It was a simple error i forgot to put "<"
>> before vote
>>
>> On Monday, May 7, 2018 at 10:55:51 PM UTC+5:30, Avitab Ayan Sarmah wrote:
>>>
>>> polls/urls.py:
>>>
>>> from django.urls import path
>>>
>>> from . import views
>>>
>>> app_name = 'polls'
>>> urlpatterns = [
>>> # ex: /polls/
>>> path('', views.index, name='index'),
>>> # ex: /polls/5/
>>> path('/', views.detail, name='detail'),
>>> #ex: /polls/5/results/
>>> path('/results/', views.results, name='results'),
>>> #ex: /polls/5/vote/
>>> path('int:question_id>/vote/', views.vote, name='vote'),
>>> ]
>>>
>>>
>>> On Monday, May 7, 2018 at 10:54:16 PM UTC+5:30, Dylan Reinhold wrote:

 Share your polls/url.py it's saying it cant find the url named "vote"
 in your polls.

 Dylan

 On Mon, May 7, 2018 at 10:14 AM, Avitab Ayan Sarmah  wrote:

> Detail.html:
>
> {{ question.question_text }}
>
> {% if error_message %}{{ error_message }}{%
> endif %}
>
> 
> {% csrf_token %}
> {% for choice in question.choice_set.all %}
>    value="{{ choice.id }}" />
>   {{ choice.choice_text }}
> 
> {% endfor %}
> 
> 
>
> --
> 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...@googlegroups.com.
> To post to this group, send email to django...@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/aab94309-a65f-49ec-bd4d-bb07bf5457a7%40googlegroups.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/6176e606-7dbe-4a39-bd05-fc879482663c%40googlegroups.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/bSlQt0K3Pe8/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAHn91oekr%3DRnKmb6ZCDpWgL5iBH5KpDmEFB4Jv%2BVVihEaRaJzg%40mail.gmail.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/CAEx5wm4B3f5xrdLMTgwQBMKFC0Lh0wrPhpxVZgcb14qJuDiBFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-07 Thread Jani Tiainen
Also next time please post exceptions as a text. Images are really hard to
read specially on mobile device.

ma 7. toukokuuta 2018 klo 20.34 Avitab Ayan Sarmah 
kirjoitti:

> i got the error thank you. It was a simple error i forgot to put "<"
> before vote
>
> On Monday, May 7, 2018 at 10:55:51 PM UTC+5:30, Avitab Ayan Sarmah wrote:
>>
>> polls/urls.py:
>>
>> from django.urls import path
>>
>> from . import views
>>
>> app_name = 'polls'
>> urlpatterns = [
>> # ex: /polls/
>> path('', views.index, name='index'),
>> # ex: /polls/5/
>> path('/', views.detail, name='detail'),
>> #ex: /polls/5/results/
>> path('/results/', views.results, name='results'),
>> #ex: /polls/5/vote/
>> path('int:question_id>/vote/', views.vote, name='vote'),
>> ]
>>
>>
>> On Monday, May 7, 2018 at 10:54:16 PM UTC+5:30, Dylan Reinhold wrote:
>>>
>>> Share your polls/url.py it's saying it cant find the url named "vote" in
>>> your polls.
>>>
>>> Dylan
>>>
>>> On Mon, May 7, 2018 at 10:14 AM, Avitab Ayan Sarmah 
>>> wrote:
>>>
 Detail.html:

 {{ question.question_text }}

 {% if error_message %}{{ error_message }}{%
 endif %}

 
 {% csrf_token %}
 {% for choice in question.choice_set.all %}
   >>> value="{{ choice.id }}" />
   {{ choice.choice_text }}
 
 {% endfor %}
 
 

 --
 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...@googlegroups.com.
 To post to this group, send email to django...@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/aab94309-a65f-49ec-bd4d-bb07bf5457a7%40googlegroups.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/6176e606-7dbe-4a39-bd05-fc879482663c%40googlegroups.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/CAHn91oekr%3DRnKmb6ZCDpWgL5iBH5KpDmEFB4Jv%2BVVihEaRaJzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-07 Thread Avitab Ayan Sarmah
i got the error thank you. It was a simple error i forgot to put "<" before 
vote

On Monday, May 7, 2018 at 10:55:51 PM UTC+5:30, Avitab Ayan Sarmah wrote:
>
> polls/urls.py:
>
> from django.urls import path
>
> from . import views
>
> app_name = 'polls'
> urlpatterns = [
> # ex: /polls/
> path('', views.index, name='index'),
> # ex: /polls/5/
> path('/', views.detail, name='detail'),
> #ex: /polls/5/results/
> path('/results/', views.results, name='results'),
> #ex: /polls/5/vote/
> path('int:question_id>/vote/', views.vote, name='vote'),
> ]
>
>
> On Monday, May 7, 2018 at 10:54:16 PM UTC+5:30, Dylan Reinhold wrote:
>>
>> Share your polls/url.py it's saying it cant find the url named "vote" in 
>> your polls.
>>
>> Dylan
>>
>> On Mon, May 7, 2018 at 10:14 AM, Avitab Ayan Sarmah  
>> wrote:
>>
>>> Detail.html:
>>>
>>> {{ question.question_text }}
>>>
>>> {% if error_message %}{{ error_message }}{% 
>>> endif %}
>>>
>>> 
>>> {% csrf_token %}
>>> {% for choice in question.choice_set.all %}
>>>   >> value="{{ choice.id }}" />
>>>   {{ choice.choice_text }}
>>> 
>>> {% endfor %}
>>> 
>>> 
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To post to this group, send email to django...@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/aab94309-a65f-49ec-bd4d-bb07bf5457a7%40googlegroups.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/6176e606-7dbe-4a39-bd05-fc879482663c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-07 Thread Avitab Ayan Sarmah
polls/urls.py:

from django.urls import path

from . import views

app_name = 'polls'
urlpatterns = [
# ex: /polls/
path('', views.index, name='index'),
# ex: /polls/5/
path('/', views.detail, name='detail'),
#ex: /polls/5/results/
path('/results/', views.results, name='results'),
#ex: /polls/5/vote/
path('int:question_id>/vote/', views.vote, name='vote'),
]


On Monday, May 7, 2018 at 10:54:16 PM UTC+5:30, Dylan Reinhold wrote:
>
> Share your polls/url.py it's saying it cant find the url named "vote" in 
> your polls.
>
> Dylan
>
> On Mon, May 7, 2018 at 10:14 AM, Avitab Ayan Sarmah  > wrote:
>
>> Detail.html:
>>
>> {{ question.question_text }}
>>
>> {% if error_message %}{{ error_message }}{% endif 
>> %}
>>
>> 
>> {% csrf_token %}
>> {% for choice in question.choice_set.all %}
>>   > value="{{ choice.id }}" />
>>   {{ choice.choice_text }}
>> 
>> {% endfor %}
>> 
>> 
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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/aab94309-a65f-49ec-bd4d-bb07bf5457a7%40googlegroups.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/305cf889-c4de-4462-bb94-ce74a4980346%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: while going through the django tutorial i commited a error and because of which i cannot execute the python manage.py runserver. The errors are attached below

2018-05-07 Thread Dylan Reinhold
Share your polls/url.py it's saying it cant find the url named "vote" in
your polls.

Dylan

On Mon, May 7, 2018 at 10:14 AM, Avitab Ayan Sarmah 
wrote:

> Detail.html:
>
> {{ question.question_text }}
>
> {% if error_message %}{{ error_message }}{% endif
> %}
>
> 
> {% csrf_token %}
> {% for choice in question.choice_set.all %}
>value="{{ choice.id }}" />
>   {{ choice.choice_text }}
> 
> {% endfor %}
> 
> 
>
> --
> 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/aab94309-a65f-49ec-bd4d-bb07bf5457a7%40googlegroups.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/CAHtg44A%2B_Gu5ib%2Bse-%2BjspX%2B%3DV6HW4U1O3uXgyZC9mDxDneSYA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.