Quantcast
Channel: Forum Pasja Informatyki - Najnowsze pytania bez odpowiedzi
Viewing all articles
Browse latest Browse all 21942

django 'widget_tweaks' is not a registered tag library

$
0
0

Witam, używam apki widget_tweaks w Django. Lokalnie działa, a na serwerze dostaję:

TemplateSyntaxError at /kontakt/

'widget_tweaks' is not a registered tag library. Must be one of:
admin_list
admin_modify
admin_static
admin_urls
cache
i18n
l10n
log
static
staticfiles
tz

Instalowałem to komendą:

pip install django-widget-tweaks

W settings.py mam:

INSTALLED_APPS = [
    ...
    'widget_tweaks',
]

A w HTML na początku jest:

{% load widget_tweaks %}

Próbowałem w shellu dostać się to widget_tweaks:

from django.apps import apps

apps.get_app_config('widget_tweaks').verbose_name

I dostałem:

Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/local/lib/python2.7/dist-packages/Django-1.10a1-py2.7.egg/django/apps/registry.py", line 155, in get_app_config raise LookupError(message) LookupError: No installed app with label 'widget_tweaks'.


Viewing all articles
Browse latest Browse all 21942

Trending Articles


TRX Antek AVT - 2310 ver 2,0


Автовишка HAULOTTE HA 16 SPX


POTANIACZ


Zrób Sam - rocznik 1985 [PDF] [PL]


Maxgear opinie


BMW E61 2.5d błąd 43E2 - klapa gasząca a DPF


Eveline ➤ Matowe pomadki Velvet Matt Lipstick 500, 506, 5007


Auta / Cars (2006) PLDUB.BRRip.480p.XviD.AC3-LTN / DUBBING PL


Peugeot 508 problem z elektroniką


AŚ Jelenia Góra