Opened 17 years ago
Closed 17 years ago
#7066 closed (invalid)
global name 'authenticate' is not defined in views/comments.py
Reported by: | Joaquin Quintas | Owned by: | nobody |
---|---|---|---|
Component: | contrib.comments | Version: | dev |
Severity: | Keywords: | comments | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The line from django.contrib.auth import authenticate is missing
in the file comments/views/comments.py from 'django.contrib.comments'.
Change History (6)
follow-up: 2 comment:1 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 17 years ago
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Replying to Alex:
This function isn't being called anywhere in comments.py, hence it is not being imported.
the function "isValidUser" is using authenticate
comment:3 by , 17 years ago
isValidUser is not defined anywhere in that document, are you sure you are talking about django.contrib.comments.views.comments? http://code.djangoproject.com/browser/django/trunk/django/contrib/comments/views/comments.py
follow-up: 5 comment:4 by , 17 years ago
I downloaded the lasted version from trunk, and it is the same file.
It is my first ticket, and I would like to contribute, maybe I am wrong sorry.
comment:5 by , 17 years ago
Replying to jquintas:
I downloaded the lasted version from trunk, and it is the same file.
It is my first ticket, and I would like to contribute, maybe I am wrong sorry.
I downloaded the lasted version from trunk, and it is NOT the same file. It is my first ticket, and I would like to contribute, maybe I am wrong sorry.
comment:6 by , 17 years ago
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
I don't see an issue here. If you're getting an error originating in the Django code, please provide details of that.
This function isn't being called anywhere in comments.py, hence it is not being imported.