Tutorial does not have user insert admin.autodiscover() in lesson 2
|Reported by:||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
After the NFA branch was added, tutorial lesson 2 does not work in the section called "Activate your admin site". If you follow the instructions, and then try to login to the admin site, you are met with "You have no permissions to be here" type error.
You need to add the following lines in urls.py
then the tutorial works as expected.
Also, I'm wondering if we want to have the manage.py add the line commented out, like it does for the other lines.