mercredi 4 janvier 2017

How to properly configure ROOT_URLCONF

I'm going through django tutorial and I have an issue with ROOT_URLCONF line in settings.py. If it's set to 'mysite.urls' index page isn't being found. If I set it to 'polls.urls' it's working but admin page isn't found now.

What's the issue?

Here's my file hierarchy:

enter image description here

enter image description here

Aucun commentaire:

Enregistrer un commentaire