, Daniel Roseman <roseman.dan...@googlemail.com>
wrote:
> JimT wrote:
> > I've searched pretty much everywhere and I still can't get my simple
> > template tag working.
>
> > It's supposed to simply return a list of strings which I can output in
> > a template for lo
I've searched pretty much everywhere and I still can't get my simple
template tag working.
It's supposed to simply return a list of strings which I can output in
a template for loop. Currently it takes no parameters but eventually
I'd like to pass it a string to format the URL as well however it
I figured it was something like that. I've also wondered why there
wasn't a way to add a variable in the templates.
In the end I settled for the CSS fix which was also something I'd
never considered before. It works like a charm and I've learned
something new.
Thanks RajeshD!
On Oct 12, 7:04
My question is whether I can compare a filtered template variable to a
string as in "{% ifequal naics.description|slice:"0:1" 'A' %}"
I'm looping through approximately 1800 NAICS description using the
code below. I don't want to output the first "Back to the top" link so
I'm trying to use the
to this business.
On Sep 4, 6:16 pm, jake <[EMAIL PROTECTED]> wrote:
> hi jim,
>
> JimT wrote:
> > The way my models are below (abbreviated for clarity) the hours don't
> > show up in the business detail of the "Businesses" section in the
> > admin appl
Here's a brief description of what I'm trying to do:
I have a database of businesses and I want to let the business owners
enter their hours of operation. In order to normalize the display of
the hours I've decided to have owners enter hours for each day. This
represents a one (business) to many
6 matches
Mail list logo