Hi All,

I was wondering if someone could tell me the correct method for
associating submitted form data with a user. I would like to access
user-submitted form information with the API (or a template) via user
identification. I'm making use of a ModelForm in a forms.py file which
corresponds to a "Suggestions" model in my models.py file. In my view,
I've specified that the user must be authenticated in order to access
and submit form data. But, I'm still not sure how to associate the
data with the particular authenticated user. The methods I've tried so
far create a drop-down list where the user can manually specify their
name before submitting the form. But, I would like the user to be
associated with the data automatically upon submission. Some of the
tutorials appear to talk about this issue in terms of extending the
user profile, but I think I'm looking for something different. Could
anyone provide a basic explanation or point me to a page that does ? I
hope I've described the situation clearly enough.

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to