How to edit django-allauth default templates?

后端 未结 8 1836
抹茶落季
抹茶落季 2020-12-15 06:35

i\'m using Django 1.10 and i want to add the allauth\'s app for login, signin, etc, to my website. I\'ve installed allauth from pip, and tried to put the templates from alla

8条回答
  •  春和景丽
    2020-12-15 06:49

    In django-allauth==0.36.0

    • let's say you wanna customize the login page.
    • don't need to change TEMPLATES setting
    • just create a folder named account in your project templates folder then:
    • clone the project git clone https://github.com/pennersr/django-allauth cd django-allauth/allauth/templates/account
    • Copy base.html and login.html to the created account folder
    • I tried, it works.

    Official Link

提交回复
热议问题