Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#7227 closed (fixed)

'authenticate' method not declared in comments

Reported by: Marinho Brandão Owned by: nobody
Component: contrib.comments Version: newforms-admin
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

When try authenticate a user by the AuthenticationForm of Comments contrib, the following error is shown:

NameError: global name 'authenticate' is not defined

The solution is just import this method from django.contrib.auth

Attachments (1)

patch_comments.diff (475 bytes) - added by Marinho Brandão 8 years ago.

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by Marinho Brandão

Attachment: patch_comments.diff added

comment:1 Changed 8 years ago by Gary Wilson

Resolution: fixed
Status: newclosed

(In [7524]) newforms-admin: Fixed #7227 -- Added missing import, thanks marinho.

comment:2 Changed 8 years ago by Gary Wilson

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset
Version: SVNnewforms-admin
Note: See TracTickets for help on using tickets.
Back to Top