Code

Opened 8 years ago

Closed 8 years ago

#2420 closed defect (fixed)

Minor error in http://www.djangoproject.com/documentation/syndication/

Reported by: anonymous Owned by: adrian
Component: contrib.admin Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

http://www.djangoproject.com/documentation/syndication/

def author_email(self, obj):

"""
Takes the object returned by get_object() and returns the feed's
author's e-mail as a normal Python string.
"""

def author_name(self):

"""
Returns the feed's author's e-mail as a normal Python string.
"""

author_email = 'test@…' # Hard-coded author e-mail.

author_name should probably be author_email... if only this were a wiki

Attachments (0)

Change History (1)

comment:1 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [3451]) Fixed #2420 -- Fixed typo in docs/syndication_feeds.txt

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.