Re:Re: self.publish.strftime('%m')

2016-01-31 Thread 林攀
;, args=[self.publish.year, self.publish.strftime('%m'), self.publish.strftime('%d'), self.slug]) url(r'^(?P\d{4})/(?P\d{2})/(?P\d{2})/(?P[-\w]+)/$', view

Re: self.publish.strftime('%m')

2016-01-30 Thread Peter of the Norse
. With the year, you don’t have to worry about that, so it gets skipped. > On Jan 26, 2016, at 6:30 AM, 林攀 <18610710...@163.com> wrote: > > return reverse('blog:post_detail', args=[self.publish.year, >

Re: self.publish.strftime('%m')

2016-01-26 Thread James Schneider
On Tue, Jan 26, 2016 at 5:30 AM, 林攀 <18610710...@163.com> wrote: > return reverse('blog:post_detail', args=[self.publish.year, > self.publish.strftime('%m'), >

self.publish.strftime('%m')

2016-01-26 Thread 林攀
return reverse('blog:post_detail', args=[self.publish.year, self.publish.strftime('%m'), self.publish.strftime('%d'), self.slug]) url(r'^(?