#18713 closed Uncategorized (fixed)
Use of multiple names in example for single app [Comments customization]
| Reported by: | Pratyush | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.4 |
| Severity: | Normal | Keywords: | comments |
| Cc: | Triage Stage: | Unreviewed | |
| Has patch: | no | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | yes | UI/UX: | no |
Description
The documentation on "customizing the comments framework" uses 'my_comment_app' for the comment app in the starting and the suddenly it refers to it as 'my_custom_app'.
Near the end, the documentation says: "Finally, we'll define a couple of methods in my_custom_app/init.py to point Django at these classes we've created:" and in the code following it again uses 'my_comment_app'.
from my_comments_app.models import CommentWithTitle
from my_comments_app.forms import CommentFormWithTitle
def get_model():
return CommentWithTitle
def get_form():
return CommentFormWithTitle
Note:
See TracTickets
for help on using tickets.
In [542c20b38263afb8161d354e6a2cc4ef6bb21de5]: