Wiadomość napisana w dniu 2008-08-19, o godz. 16:43, przez Genis Pujol Hamelink:
> I'm checking out how to use forms with django and I'm trying to find > out how to pass the value of request.session['_auth_user_id'] to the > form field which should contain the userid which > is {{ form.user }}. > > How can I tell the view to insert the value of request.session > rather than asking the user for input? You can pass it as initial data during form creation. -- We read Knuth so you don't have to. - Tim Peters Jarek Zgoda [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---