Problem with "call_partials" #139
Unanswered
vittoriopolto
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have a problem with the h.call_partials in xhtml
I had installed tgext-pluggable.
I use
${h.call_partial('cardwiki.controllers.partials:card_deck', deck=deck)}
inside xhtmland in /controller/partials.py i have the function:
def card_deck(deck): return dict(deck=deck)
but at runtime i receive the following error:
AttributeError: module 'cardwiki.lib.helpers' has no attribute 'call_partial'
seems that he try to use lib.helpers.call_partial instead of the pluggable helpers.
What i'm missing?
Beta Was this translation helpful? Give feedback.
All reactions