It's not really great solution, but maybe it will give you a hint: you can
add/remove fileds to the form on the fly. And for not logged in users show
all fields, but for authenticated only subset of the all form fields.

2012/2/13 Fabio Natali <fa...@fnstudio.it>

> Hi everybody,
>
> I am using comments app from contrib in Django 1.3.
>
> In my website I let only authenticated users to leave a comment so I'd
> like to get rid of those "name", "email" and "url" fields that come with
> the standard comment form. Indeed, I already know the name and email of
> current logged user, there's no need for the user to submit his/her name
> and email again.
>
> So, I'd just like a FK field to the user that left the comment. More of
> that, I would like that field to be automatically populated while the user
> submit the comment.
>
> Could you give me some hints for such customization?
>
> Thank you very much,
> Fabio.
>
> --
> Fabio Natali
>
>
-- 
*Vovk Donets*
 python developer

-- 
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