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/AAAAAAAAZIc/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/ <http://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 [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
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 [email protected].
To post to this group, send email to [email protected].
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.