#9303 closed (fixed)
comment templatetags should be independent of Comment model
Reported by: | Thejaswi Puthraya | Owned by: | nobody |
---|---|---|---|
Component: | contrib.comments | Version: | dev |
Severity: | Keywords: | comments, templatetags, independent, customize | |
Cc: | Carl Meyer, halfdan@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
The comment app templatetags should be independent of the Comment model. This is for the customizability of the comment app.
Attachments (3)
Change History (13)
Changed 15 years ago by
Attachment: | 9303_hasattr.diff added |
---|
Changed 15 years ago by
Attachment: | 9303_model.diff added |
---|
Second method that changes BaseCommentAbstractModel
comment:1 Changed 15 years ago by
The discussion for this ticket is at http://groups.google.com/group/django-developers/t/562438d7136fbb03
comment:2 Changed 15 years ago by
Cc: | carl@… added |
---|
comment:3 Changed 15 years ago by
Triage Stage: | Unreviewed → Accepted |
---|
comment:4 Changed 15 years ago by
Cc: | Carl Meyer added; carl@… removed |
---|
comment:5 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:6 Changed 15 years ago by
Cc: | halfdan@… added |
---|
comment:7 Changed 15 years ago by
milestone: | → 1.1 beta |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
This bug still exists because the filter on is_public
is being tried even before the fieldnames are checked. Looks like this line was overlooked while being checked in...
This bug was identified in http://code.djangoproject.com/ticket/8630#comment:23.
comment:8 Changed 15 years ago by
Has patch: | set |
---|
First method that uses hasattr