2

I am new to Django and trying to create a registration form for users. I want users to upload there image during signup. After some research I got django-avatar and easy thumbnail as way to go, am I correct? So I went ahead with django-avatar but I am confused how to add a form field to userprofile that talks to django avatar. Am I in correct path or should I use some other plugin for uplaoding an user image. If Django-avatar is the way to go how should I create a form field for image and how my view look like?

4

1 回答 1

1

尝试使用Formsets并将表单设置为avatar.forms.UploadAvatarForm

于 2013-08-08T00:36:37.663 回答