Re: main page have stopped work after creating poll app

2018-08-05 Thread Muhammad Ibrahim
After following the due procedure to creating an app polls and running the 
server as guided by Django online tutorial , still can't navigate (The 
current path, polls/, didn't match any of these.) please can you help?.

On Monday, May 28, 2018 at 1:47:09 PM UTC+1, Florian Schweikert wrote:
>
> It seems you don't have a "main" page. 
> The page you saw was a placeholder starting page if there are no other 
> urls defined. 
> If you want to deliver something at / you have to add it to urls.py 
>
>
> PS: pasting screenshots of code is a very bad habit. 
>
> On 26/05/18 14:46, Dmitry Sobolev wrote: 
> > <
> https://lh3.googleusercontent.com/-9lHCmQtIC3A/WwlWrbCUCxI/ZIc/FLzBr-gbHVsbIwQyOBXRaHJnyaPAPQKJQCLcBGAs/s1600/Screen%2BShot%2B2018-05-26%2Bat%2B3.44.00%2BPM.png>
>  
>
> > 
> > if I comment this stroke in urls.py the main page begins to work but in 
> > this case I don't have an access to the polls app. 
> > 
> > 
> > 
> > 
> > суббота, 26 мая 2018 г., 15:00:04 UTC+3 пользователь Dmitry Sobolev 
> написал: 
> > 
> > Hello guys! 
> > I am doing 1st steps in Django. 
> > Started 1st tutorial page 3 times from there and getting the same 
> > case each time. 
> > After that, I created a working "poll app" that works under 
> > 127.0.0.1:8000/polls/  
> > the main address stop working 
> > where should I see the problem of this problem and make main page 
> > work both with "poll app"? 
> > Thanks! 
> > 
> > -- 
> > 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/4d392683-e5c3-40fc-98f6-7a0d91e8fa8b%40googlegroups.com
>  
> > <
> https://groups.google.com/d/msgid/django-users/4d392683-e5c3-40fc-98f6-7a0d91e8fa8b%40googlegroups.com?utm_medium=email&utm_source=footer>.
>  
>
> > 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/3fac6074-f242-4989-9bda-6c87966ffdc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: main page have stopped work after creating poll app

2018-05-28 Thread Florian Schweikert

It seems you don't have a "main" page.
The page you saw was a placeholder starting page if there are no other 
urls defined.

If you want to deliver something at / you have to add it to urls.py


PS: pasting screenshots of code is a very bad habit.

On 26/05/18 14:46, Dmitry Sobolev wrote:



if I comment this stroke in urls.py the main page begins to work but in 
this case I don't have an access to the polls app.





суббота, 26 мая 2018 г., 15:00:04 UTC+3 пользователь Dmitry Sobolev написал:

Hello guys!
I am doing 1st steps in Django.
Started 1st tutorial page 3 times from there and getting the same
case each time.
After that, I created a working "poll app" that works under
127.0.0.1:8000/polls/ 
the main address stop working
where should I see the problem of this problem and make main page
work both with "poll app"?
Thanks!

--
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/4d392683-e5c3-40fc-98f6-7a0d91e8fa8b%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/632f534e-c43f-76ec-cca8-a39dc11ab489%40ist-total.org.
For more options, visit https://groups.google.com/d/optout.


Re: main page have stopped work after creating poll app

2018-05-28 Thread Julio Biason
Hi Dmitry,

Define "the main address stop working"? Do you mean it won't accept any
other requests?

You should probably check the command line where you started "manage.py
runserver". It should display a backtrace pointing to anything that went
wrong.

On Sat, May 26, 2018 at 5:43 AM, Dmitry Sobolev 
wrote:

> Hello guys!
> I am doing 1st steps in Django.
> Started 1st tutorial page 3 times from there and getting the same case
> each time.
> After that, I created a working "poll app" that works under
> 127.0.0.1:8000/polls/
> the main address stop working
> where should I see the problem of this problem and make main page work
> both with "poll app"?
> Thanks!
>
> --
> 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/02e80ca1-a53c-4668-beb9-1f21a31bae70%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+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/CAEM7gE1ovixssyFzKwOLqvh1tcbVaCRQy%3DzbDSe7rWzVuGW53A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: main page have stopped work after creating poll app

2018-05-26 Thread Dmitry Sobolev



if I comment this stroke in urls.py the main page begins to work but in 
this case I don't have an access to the polls app. 




суббота, 26 мая 2018 г., 15:00:04 UTC+3 пользователь Dmitry Sobolev написал:
>
> Hello guys!
> I am doing 1st steps in Django.
> Started 1st tutorial page 3 times from there and getting the same case 
> each time.
> After that, I created a working "poll app" that works under 
> 127.0.0.1:8000/polls/
> the main address stop working
> where should I see the problem of this problem and make main page work 
> both with "poll app"?
> Thanks!
>

-- 
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/4d392683-e5c3-40fc-98f6-7a0d91e8fa8b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


main page have stopped work after creating poll app

2018-05-26 Thread Dmitry Sobolev
Hello guys!
I am doing 1st steps in Django.
Started 1st tutorial page 3 times from there and getting the same case each 
time.
After that, I created a working "poll app" that works under 
127.0.0.1:8000/polls/
the main address stop working
where should I see the problem of this problem and make main page work both 
with "poll app"?
Thanks!

-- 
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/02e80ca1-a53c-4668-beb9-1f21a31bae70%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.