Re: path('/',views.polls_details,name="polls_details") TypeError: list indices must be integers or slices, not tuple

2018-10-11 Thread Daniel Hepper
Happens to the best of us :)

Glad I could help!

- Daniel

On Thu, Oct 11, 2018 at 11:54 AM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:

> thanks man ... i was doing school boy error . thanks for shaving my day :)
>
> On Thu, Oct 11, 2018 at 3:20 PM Daniel Hepper 
> wrote:
>
>> You are missing a =. It should be:
>>
>> urlpatterns = [
>> ...
>> ]
>>
>> instead of:
>>
>> urlpatterns[
>> ...
>> ]
>>
>> On Thu, Oct 11, 2018 at 11:42 AM tribhuvan kishor <
>> tribhuvankishor...@gmail.com> wrote:
>>
>>> please help me I am searching about this error throw out  DAY .
>>>
>>> --
>>> regards
>>> Tribhuvan Kishor Bhaskar
>>>
>>> --
>>> 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/CACiphSUFoTdUn923%2ByVse5GFt0yrrXJ%3Dim_S1FxNPEi9ksu4EQ%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/CAHEnUVXoLoM%2BCHPZ%3DLQSx62LXpFkUQkC2djeUwV4V0NYuq4SAw%40mail.gmail.com
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> --
> regards
> Tribhuvan Kishor Bhaskar
>
> --
> 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/CACiphSWewMr_1LmMrxMdxijNCy15TMrGjjYw9x_-RHO4sk9XcQ%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/CAHEnUVWF38Ftz2jPX03_aXLHv7KD000EAsYDwDUByLwFkAPMwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: path('/',views.polls_details,name="polls_details") TypeError: list indices must be integers or slices, not tuple

2018-10-11 Thread tribhuvan kishor
thanks man ... i was doing school boy error . thanks for shaving my day :)

On Thu, Oct 11, 2018 at 3:20 PM Daniel Hepper 
wrote:

> You are missing a =. It should be:
>
> urlpatterns = [
> ...
> ]
>
> instead of:
>
> urlpatterns[
> ...
> ]
>
> On Thu, Oct 11, 2018 at 11:42 AM tribhuvan kishor <
> tribhuvankishor...@gmail.com> wrote:
>
>> please help me I am searching about this error throw out  DAY .
>>
>> --
>> regards
>> Tribhuvan Kishor Bhaskar
>>
>> --
>> 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/CACiphSUFoTdUn923%2ByVse5GFt0yrrXJ%3Dim_S1FxNPEi9ksu4EQ%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/CAHEnUVXoLoM%2BCHPZ%3DLQSx62LXpFkUQkC2djeUwV4V0NYuq4SAw%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
regards
Tribhuvan Kishor Bhaskar

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


Re: path('/',views.polls_details,name="polls_details") TypeError: list indices must be integers or slices, not tuple

2018-10-11 Thread Daniel Hepper
You are missing a =. It should be:

urlpatterns = [
...
]

instead of:

urlpatterns[
...
]

On Thu, Oct 11, 2018 at 11:42 AM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:

> please help me I am searching about this error throw out  DAY .
>
> --
> regards
> Tribhuvan Kishor Bhaskar
>
> --
> 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/CACiphSUFoTdUn923%2ByVse5GFt0yrrXJ%3Dim_S1FxNPEi9ksu4EQ%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/CAHEnUVXoLoM%2BCHPZ%3DLQSx62LXpFkUQkC2djeUwV4V0NYuq4SAw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.