|
| auto_current_user |
|
| auto_current_user_add |
|
| verbose_name |
|
| name |
|
| default |
|
| required |
|
| validator |
|
| choices |
|
| indexed |
|
| creation_counter |
|
| model_class |
|
| data_type = users.User |
|
int | creation_counter = 0 |
|
| data_type = str |
|
def google.appengine.ext.db.djangoforms.UserProperty.get_form_field |
( |
|
self, |
|
|
|
kwargs |
|
) |
| |
Return a Django form field appropriate for a User property.
This defaults to a forms.EmailField instance, except if auto_current_user or
auto_current_user_add is set, in which case None is returned, as such
'auto' fields should not be rendered as part of the form.
def google.appengine.ext.db.djangoforms.UserProperty.get_value_for_form |
( |
|
self, |
|
|
|
instance |
|
) |
| |
Extract the property value from the instance for use in a form.
This returns the email address of the User.
The documentation for this class was generated from the following file:
- code/googleappengine-read-only/python/google/appengine/ext/db/djangoforms.py