Opened 16 years ago

Closed 16 years ago

#7861 closed (duplicate)

Tutorial does not have user insert admin.autodiscover() in lesson 2

Reported by: john@… Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords: tutorial autodiscover
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

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

admin.autodiscover()

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.

Change History (1)

comment:1 by Brian Rosner, 16 years ago

milestone: 1.0 alpha
Resolution: duplicate
Status: newclosed

Duplicate of #7824

Note: See TracTickets for help on using tickets.
Back to Top