views.py 文件源码

python
阅读 23 收藏 0 点赞 0 评论 0

项目:django-learning 作者: adoggie 项目源码 文件源码
def get_email_context(self, activation_key):
        """
        Build the template context used for the activation email.

        """
        return {
            'activation_key': activation_key,
            'expiration_days': settings.ACCOUNT_ACTIVATION_DAYS,
            'site': get_current_site(self.request)
        }
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号