Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#7227 closed (fixed)

'authenticate' method not declared in comments

Reported by: marinho 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:


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

Download all attachments as: .zip

Change History (3)

Changed 7 years ago by marinho

comment:1 Changed 7 years ago by gwilson

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:2 Changed 7 years ago by gwilson

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Version changed from SVN to newforms-admin
Note: See TracTickets for help on using tickets.
Back to Top