Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

django get current user in form

def __init__(self, user, *args, **kwargs):
    self.user = user
    super(RSVPForm, self).__init__(*args, **kwargs)
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #django #current #user #form
ADD COMMENT
Topic
Name
1+5 =