On May 20, 9:01 am, google torp wrote:
> > Hi,
>
> > Hi,
>
> > my_date_list = ['01', '02',
> > '03','04','05','06','07','08','09','10','11','12','13','14','15','16','17',
> > '18','19','20','21','22','23','24','25','26','27','28','29','30','31']
> > str_date_list=[]
> > for item in my_date_list
This is probably more a python issue than a Django issue. Also
I don't really know what it is you want to do, but you should
consider if you really need to make all these lists? Also when
dealing with dates or datetimes python can do a lot of string
conversion for you. If you want to do it the way
Hi,
Hi,
my_date_list = ['01', '02',
'03','04','05','06','07','08','09','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25','26','27','28','29','30','31']
str_date_list=[]
for item in my_date_list:
str_date_list.append(item+'-'+'05' + '-' +'09')
counter= 0
i = it
3 matches
Mail list logo