#3179: problem with login - transaction is aborted
---------------------------+------------------------------------------------
Reporter: anonymous | Owner: adrian
Type: defect | Status: reopened
Priority: normal | Milestone:
Component: Generic views | Version: SVN
Severity: normal | Resolution:
Keywords: |
---------------------------+------------------------------------------------
Changes (by Dmytri Kleiner):
* status: closed => reopened
* resolution: invalid =>
* component: Contrib apps => Generic views
Comment:
I am having the exact same problem (with 0.95/twisted), and it has nothing
to do with the hypothetical condition described by Gary Wilson above,
there is something wrong with the login_required decorator. When I use the
decorator from the admin (staff_member_required) it works just fine, when
I use login_required it fails as described. Problem is with generic views
you can not specify _which_ decorator to use, so it seems to me generic
views are essential broken in .95 if authentication is needed (maybe it's
only with twisted and/or postgres).
--
Ticket URL: <http://code.djangoproject.com/ticket/3179#comment:>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---