Django

Code

Ticket #4935 (closed: duplicate)

Opened 1 year ago

Last modified 1 year ago

code error

Reported by: fujujian@gmail.com Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords: datetime
Cc: Triage Stage: Unreviewed
Has patch: 0 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

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

return self.pub_date.date() == datetime.date.today()

error occured! may be use datetime.today().date() instead of datetime.date.today()

Attachments

Change History

07/20/07 23:11:07 changed by John Shaffer <jshaffer2112@gmail.com>

  • status changed from new to closed.
  • needs_better_patch changed.
  • resolution set to duplicate.
  • needs_tests changed.
  • needs_docs changed.

Duplicate of #4876.


Add/Change #4935 (code error)




Change Properties
Action