Hello,

I am presently working on my first Django project and seemed to be a
little stuck concerning session variables and forms.

This is how my app is laid out:
- user logs in and is directed to a "you have successfully logged in"
page
- user is then redirected to what i am hoping to be an account page
where they can submit information using a form
- this form is a ModelForm (which I believe makes a difference)
- since the user has already logged in I would like the user field on
this form to be defaulted

This is where I am having trouble, where do I set this default and how
would I do this?

I've tried to figure it out on my own but i've gotten nowhere

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