Re: how to get the time from date-based generic views

2011-02-25 Thread John Yeukhon Wong
OHHH this is really impressive. I didn't really think of that. Thanks! Now I have another concept loaded under my belt. Hhaha THank! On Feb 26, 12:18 am, Russell Keith-Magee wrote: > On Sat, Feb 26, 2011 at 1:09 PM, John Yeukhon Wong > > wrote: > > Suppose we have a django page using > > djang

Re: how to get the time from date-based generic views

2011-02-25 Thread Russell Keith-Magee
On Sat, Feb 26, 2011 at 1:09 PM, John Yeukhon Wong wrote: > Suppose we have a django page using > django.views.generic.date_based.object_detail (or even archive_index.. > actually doesn't really matter...) > > In the model class I saved the datetime.datetime.now which suppose to > include the day,

how to get the time from date-based generic views

2011-02-25 Thread John Yeukhon Wong
Suppose we have a django page using django.views.generic.date_based.object_detail (or even archive_index.. actually doesn't really matter...) In the model class I saved the datetime.datetime.now which suppose to include the day, month, year, and time. But I have no idea how to access the time par