On Aug 31, 1:38 pm, Julián C. Pérez wrote:
> Hi
> I use Django 1.0 and I define a template function like...
> ---
> from django import template
> register = template.Library()
> def doSomething(param1, param2):
> # Do something like...
> return str(param1)+''+str(param2)
> register.simple_t
Hi
I use Django 1.0 and I define a template function like...
---
from django import template
register = template.Library()
def doSomething(param1, param2):
# Do something like...
return str(param1)+''+str(param2)
register.simple_tag(doSomething)
---
to use that in template system, assuming a
hi group. I"ve got an issue i'm needing help with. I have two
variables, a and b in my template and I need to pass those to a single
template tag so I can process them and return a result to the
template. Is there a way to pass more than one variable to a template
tag... if so, how?
thanks in
yeah, it was definitley the __init__.py issue, which I will strive to
never forget again.
Thanks!
On Nov 19, 3:52 pm, Ben Eliott <[EMAIL PROTECTED]> wrote:
> what happens when you go into the python interpreter and write
> import basic
>
> On 19 Nov 2008, at 16:58, goblue0311 wrote:
>
>
>
> > I'
what happens when you go into the python interpreter and write
import basic
On 19 Nov 2008, at 16:58, goblue0311 wrote:
>
> I'm implementing the popular basic.blog application, which requires
> the inclusion of the basic.inlines project. However, I cannot seem to
> get my application to locate t
On Nov 19, 4:58 pm, goblue0311 <[EMAIL PROTECTED]> wrote:
> I'm implementing the popular basic.blog application, which requires
> the inclusion of the basic.inlines project. However, I cannot seem to
> get my application to locate the basic.inlines project. I have asked
> this question in the basi
I'm implementing the popular basic.blog application, which requires
the inclusion of the basic.inlines project. However, I cannot seem to
get my application to locate the basic.inlines project. I have asked
this question in the basic.apps group, but I think it's generic enough
to be posted here as
7 matches
Mail list logo