This should point to your urls.py file, the file containing the `urlpatterns` variable, which is a list of `path()` statements.
For example if your urls.py file is in `/myapp/urls.py`, in your settings.py you should write: `ROOT_URLCONF = myapp.urls`.
Anthony Flury
unread,
May 5, 2018, 10:36:52 PM5/5/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to django...@googlegroups.com
ROOT_URLCONF ideally point to the top level project urls.py if you have
one - if you point it to an app's urls.py - you have to them make sure
you link that app back to all the other (which sort of defeats the point
of the app) - and make sure that something you refers forward to the
admin urls.
It is better to point it too the top level urls.py.
'django-admin startproject blah' builds a default : ROOT_URL_CONF =
'blah.urls' which should be sufficient unless you are doing something odd.