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

查看:135
本文介绍了覆盖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?

推荐答案

最新版本的all-auth github在其外部有模板,但是Pypi中的模板不是,所有您需要做的是将项目目录中的repo复制并覆盖模板。就如此容易。

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天全站免登陆