Opened 17 years ago

Closed 17 years ago

Last modified 17 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: no UI/UX: no

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 17 years ago.

Download all attachments as: .zip

Change History (3)

by Marinho Brandão, 17 years ago

Attachment: patch_comments.diff added

comment:1 by Gary Wilson, 17 years ago

Resolution: fixed
Status: newclosed

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

comment:2 by Gary Wilson, 17 years ago

Version: SVNnewforms-admin
Note: See TracTickets for help on using tickets.
Back to Top