#7227 closed (fixed)
'authenticate' method not declared in comments
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
Change History (3)
by , 17 years ago
Attachment: | patch_comments.diff added |
---|
comment:1 by , 17 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Version: | SVN → newforms-admin |
---|
Note:
See TracTickets
for help on using tickets.
(In [7524]) newforms-admin: Fixed #7227 -- Added missing import, thanks marinho.