This does not work in Django 3 for the following reasons:
The variable urlpatterns is a list of paths by default
neither url nor include are defined
Also, one needs to define a STATIC_ROOT in order to be able to execute $ python manage.py collectstatic as requested in the documentation . Even if the error message is pretty helpful in this case, it would still be nice to mention it somewhere.
Because personally, I do not need all the great features that you have over other nested solutions, I will be using something simpler which only needs installing as a django application (so no pressure from my side to do anything).
Other Django 3 beginners, however, might be thankful if you could find the time to include better documentation on how to install your app.
The documentation states that in order to include your app, one needs to add the following to
urls.py
:This does not work in Django 3 for the following reasons:
url
norinclude
are definedAlso, one needs to define a STATIC_ROOT in order to be able to execute
$ python manage.py collectstatic
as requested in the documentation . Even if the error message is pretty helpful in this case, it would still be nice to mention it somewhere.Because personally, I do not need all the great features that you have over other nested solutions, I will be using something simpler which only needs installing as a django application (so no pressure from my side to do anything).
Other Django 3 beginners, however, might be thankful if you could find the time to include better documentation on how to install your app.