Template Syntax Error when using Django allauth - Stack Overflow

I encountered this error when trying to improve the UI of login and signup pages..TemplateSyntaxError

I encountered this error when trying to improve the UI of login and signup pages..

TemplateSyntaxError at /accounts/logout/ 'slippers' is not a registered tag library. Must be one of: account admin_list admin_modify admin_urls allauth allauth_ui cache i18n l10n log socialaccount static tz widget_tweaks

i had already installed the following packages:

django-allauth==65.2.0
django-allauth-ui==1.5.1
django-widget-tweaks==1.5.0

contents of project's settings.py:

INSTALLED_APPS = [
    ...
    # third-party apps
    "allauth_ui",
    "allauth",
    "allauth.account",
    "allauth.socialaccount",
    "widget_tweaks",
]

I just tried to reinstall the packages and it's still Template Error :(

I encountered this error when trying to improve the UI of login and signup pages..

TemplateSyntaxError at /accounts/logout/ 'slippers' is not a registered tag library. Must be one of: account admin_list admin_modify admin_urls allauth allauth_ui cache i18n l10n log socialaccount static tz widget_tweaks

i had already installed the following packages:

django-allauth==65.2.0
django-allauth-ui==1.5.1
django-widget-tweaks==1.5.0

contents of project's settings.py:

INSTALLED_APPS = [
    ...
    # third-party apps
    "allauth_ui",
    "allauth",
    "allauth.account",
    "allauth.socialaccount",
    "widget_tweaks",
]

I just tried to reinstall the packages and it's still Template Error :(

Share Improve this question asked Nov 20, 2024 at 2:14 J VJ V 33 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

According to the docs for allauth_ui - "django-allauth-ui depends on jazzband/django-widget-tweaks and mixxorz/slippers to render templates. Make sure to install both packages and add them to the INSTALLED_APPS."

Looks like you have only installed django-widget-tweaks.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742386382a4434144.html

相关推荐

  • Template Syntax Error when using Django allauth - Stack Overflow

    I encountered this error when trying to improve the UI of login and signup pages..TemplateSyntaxError

    13小时前
    20

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信