hello,
i've a problem extending the TimeFormat class (used by "time" template
filter).
basically, i need a new method:
def F(self):
if self.date.minute == 0:
return self.G()
return u'%s:%s' % (self.G(), self.i())
very similar to the original one except for a G()
hello,
i've a problem extending the TimeFormat class (used by "time" template
filter).
basically, i need a new method:
def F(self):
if self.date.minute == 0:
return self.G()
return u'%s:%s' % (self.G(), self.i())
very similar to the original one except for a G()
On Thu, Dec 18, 2008 at 11:42:19AM -0800, bruno desthuilliers wrote:
> > i'm trying to display a nested array with no luck.
> >
> > that's my tries:
> >
> > --- python manage.py shell ---
> > from django.template import Template, Context
> > list_parts = {
> >
hello.
Does django template engine supports nested dictionary?
i'm trying to display a nested array with no luck.
that's my tries:
--- python manage.py shell ---
from django.template import Template, Context
list_parts = {
'root': {'value': [{'tag': 'a'},
On Wed, Nov 12, 2008 at 03:22:02AM -0800, huw_at1 wrote:
>
> An update on this.
>
> 'which python' returns:
>
> libpython2.5.so.1.0 => not found
> libpthread.so.0 => /lib64/libpthread.so.0 (0x0039a4a0)
> libdl.so.2 => /lib64/libdl.so.2 (0x0039a460)
>
5 matches
Mail list logo