views.py 文件源码

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

项目:nrp 作者: django-rea 项目源码 文件源码
def get_form_class(self):
        # @@@ django: this is a workaround to not having a dedicated method
        # to initialize self with a request in a known good state (of course
        # this only works with a FormView)
        self.primary_email_address = EmailAddress.objects.get_primary(self.request.user)
        return super(WorkSettingsView, self).get_form_class()
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号