[pyar] [Django] Custom Filter

Pablo Ziliani pablo en kultroom.com
Mie Feb 2 18:58:38 ART 2011


On 02/02/2011 03:26 AM, matias benedetto wrote:
> me dice que no encuentra el modulo con este error:
>
> 'app_tags' is not a valid tag library: Could not load template library from django.templatetags.app_tags, No module named app_tags
>
> (...)
> [0] = 
> http://translate.google.com.ar/translate?u=http%3A%2F%2Fricobl.wordpress.com%2F2008%2F12%2F23%2Ftemplates-django-filtro-truncatewords-melhorado%2F&sl=pt&tl=es&hl=&ie=UTF-8 
> <http://translate.google.com.ar/translate?u=http%3A%2F%2Fricobl.wordpress.com%2F2008%2F12%2F23%2Ftemplates-django-filtro-truncatewords-melhorado%2F&sl=pt&tl=es&hl=&ie=UTF-8>

Hola Matías,

para que te podamos ayudar creo que vas a tener que pegar el código de 
apps_tags (parece como si no hubieras usado los decoradores de 
template.Library())

Por las dudas: seguro que el código lo agarraste de la versión original 
y no de la ensalada que está sirviendo Google Translate, no?
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <http://listas.python.org.ar/pipermail/pyar/attachments/20110202/38e5b0ca/attachment.html>


More information about the pyar mailing list