📜  django 获取表单中的当前用户 - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:11.091000             🧑  作者: Mango

代码示例1
def __init__(self, user, *args, **kwargs):
    self.user = user
    super(RSVPForm, self).__init__(*args, **kwargs)