#27194: Cannot access admin page by following tutorial
-------------------------------+--------------------
     Reporter:  keksbaecker    |      Owner:  nobody
         Type:  Bug            |     Status:  new
    Component:  Uncategorized  |    Version:  1.10
     Severity:  Normal         |   Keywords:
 Triage Stage:  Unreviewed     |  Has patch:  0
Easy pickings:  0              |      UI/UX:  0
-------------------------------+--------------------
 If you follow the tutorial up to the
 [https://docs.djangoproject.com/en/1.10/intro/tutorial02/ second part] and
 try to access the admin panel, then django raises an AttributeError
 because //'WSGIRequest' object has no attribute 'user'//.

 I have not made any changes to the order of MIDDLEWARE or anything else
 that wasn't mentioned in the tutorial in the settings.py and changing the
 name from MIDDLEWARE to MIDDLEWARE_CLASSES solves the problem.

 It seems like the default installation is somehow broken.

--
Ticket URL: <https://code.djangoproject.com/ticket/27194>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/054.dd74f7fb43a798a1f4e4d7e37899d543%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to