Opened 17 years ago
Closed 17 years ago
#4935 closed (duplicate)
code error
Reported by: | Owned by: | Jacob | |
---|---|---|---|
Component: | Documentation | Version: | dev |
Severity: | Keywords: | datetime | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
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()
Note:
See TracTickets
for help on using tickets.
Duplicate of #4876.