覆盖 django-allauth 的默认模板 [英] overriding default templates of django-allauth

查看:26
本文介绍了覆盖 django-allauth 的默认模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的一个项目中使用了这个社会注册/注册库django allauth.我如何自定义默认模板和表单以提供更好的外观和感觉?

I used this social registration/signup library django allauth for a project of mine. How do i customize the default templates and forms to give a better look and feel?

推荐答案

github 上最新版本的 all-auth 有模板,但是 Pypi 上没有,你需要做的就是在你的项目目录并覆盖模板.就如此容易.

the latest version of all-auth on github has its templates outside, however the one on Pypi is not, all you need to do is clone the repo in your project directory and override the templates. As simple as that.

这篇关于覆盖 django-allauth 的默认模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆