if the tutorial is not updated to django 2, then stick and install django 1.11
I´m a beginner too, and I was able to complete the django-girls tutorial; which is awesome for beginners good luck. -- Gerardo Palazuelos Guerrero On Thu, Nov 23, 2017 at 3:16 AM, Carl Brubaker <[email protected]> wrote: > I am brand new to Python and Django. I am trying to learn both > simultaneously. I wanted to run the Django tutorial to make sure it works > on my computer, iMac running 10.13.1. > > I know I have coding issues, and managed to figure out some of the > problems that I had, but the polls tutorial does not work. > > Things I have figure out: > > Don't type "python", use "python3". > - Since 2.0 only works in Python 3, shouldn't the tutorial be > updated to that? Or is that just because I have a Mac that comes > preinstalled with Python 2? > > Add "from django.conf.urls import include" to mysite/urls.py > - Again, not mentioned in the tutorial. > > I no longer have errors in my terminal, but the "polls" website is not > found in my browser. > > Error in the browser: > > Page not found (404) > Request Method: GET > Request URL: http://localhost:8000/polls > > Using the URLconf defined in mysite.urls, Django tried these URL > patterns, in this order: > > 1. polls/ > 2. admin/ > > The current path, polls, didn't match any of these. > > Error in the terminal > > python3 manage.py runserver > Performing system checks... > > System check identified no issues (0 silenced). > > You have 14 unapplied migration(s). Your project may not work > properly until you apply the migrations for app(s): admin, auth, > contenttypes, sessions. > Run 'python manage.py migrate' to apply them. > > November 23, 2017 - 10:13:03 > Django version 2.0rc1, using settings 'mysite.settings' > Starting development server at http://127.0.0.1:8000/ > Quit the server with CONTROL-C. > Not Found: /polls > [23/Nov/2017 10:13:09] "GET /polls HTTP/1.1" 404 2060 > > I'm trying to look through issues from previous versions to see if I get > lucky. Any help would be greatly appreciated. > > -- > 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/30dccdd4-1de1-44d0-b6e8-a9d6bb705fcb%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/30dccdd4-1de1-44d0-b6e8-a9d6bb705fcb%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/CAJ8iCyOkPXm-7qOMWU897hrnvtP5B-KyNrptezqKZjO1%2BXnKyw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

