Opened 16 years ago

Closed 16 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)

comment:1 by Alex Gaynor, 16 years ago

Resolution: invalid
Status: newclosed

This function isn't being called anywhere in comments.py, hence it is not being imported.

in reply to:  1 comment:2 by Joaquin Quintas, 16 years ago

Resolution: invalid
Status: closedreopened

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 Alex Gaynor, 16 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

comment:4 by Joaquin Quintas, 16 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.

in reply to:  4 comment:5 by Joaquin Quintas, 16 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 Matt McClanahan, 16 years ago

Resolution: invalid
Status: reopenedclosed

I don't see an issue here. If you're getting an error originating in the Django code, please provide details of that.

Note: See TracTickets for help on using tickets.
Back to Top