On 24 November 2017 at 12:15, Carl Brubaker <[email protected]>
wrote:

> Ok, I applied the migration, but it still doesn't work. Maybe this is a
> django 2.0 bug that needs worked out. I figured I'd learn 2.0 so I wouldn't
> have to relearn after 2.0 releases. The initial check before creating the
> "polls app" worked, but it can never find the address. Still need more
> help. Thanks!
>

I didn't expect the migration to solve your problems - but it solved other
problems you didn't seem to note that you had.

You need to have two urls.py - one in the polls (orr app) directory and one
in the project directory - what ever you called your original project in
which the polls app.

do you have a myproject/polls/urls.py *and* myproject/myproject/urls.py?

Does the myproject/polls/urls.py look like the first urls.py shown under
https://docs.djangoproject.com/en/2.0/intro/tutorial01/#write-your-first-view
Does the myproject/myproject/urls.py look like the second urls.py shown
under here
https://docs.djangoproject.com/en/2.0/intro/tutorial01/#write-your-first-view

Once they do look like this - have you restarted the runserver?

L.

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

Reply via email to