ramp_frontend.forms.UserUpdateProfileForm¶
- 
class ramp_frontend.forms.UserUpdateProfileForm(*args, **kwargs)¶
- User profile form. - Attributes
- user_namestr
- The user name. 
- firstnamestr
- The user’s first name. 
- lastnamestr
- The user’s last name. 
- emailstr
- The user’s email address. 
- linkedin_urlstr, default == ‘’
- The user’s LinkedIn URL. 
- twitter_urlstr, default == ‘’
- The user’s Twitter URL. 
- facebook_urlstr, default == ‘’
- The user’s Facebook URL. 
- google_urlstr, default == ‘’
- The user’s Google URL. 
- github_urlstr, default == ‘’
- The user’s GitHub URL. 
- website_urlstr, default == ‘’
- The user’s website URL. 
- biostr, default == ‘’
- The user’s bio. 
- is_want_newsbool, default is True
- Whether the user want some info from us. 
 
 - 
__init__(formdata=<object object>, **kwargs)¶
- Parameters
- formdata – Input data coming from the client, usually - request.formor equivalent. Should provide a “multi dict” interface to get a list of values for a given key, such as what Werkzeug, Django, and WebOb provide.
- obj – Take existing data from attributes on this object matching form field attributes. Only used if - formdatais not passed.
- prefix – If provided, all fields will have their name prefixed with the value. This is for distinguishing multiple forms on a single page. This only affects the HTML name for matching input data, not the Python name for matching existing data. 
- data – Take existing data from keys in this dict matching form field attributes. - objtakes precedence if it also has a matching attribute. Only used if- formdatais not passed.
- meta – A dict of attributes to override on this form’s - metainstance.
- extra_filters – A dict mapping field attribute names to lists of extra filter functions to run. Extra filters run after filters passed when creating the field. If the form has - filter_<fieldname>, it is the last extra filter.
- kwargs – Merged with - datato allow passing existing data as parameters. Overwrites any duplicate keys in- data. Only used if- formdatais not passed.