name
name

Reputation: 723

How to relate a user to Django-avatar plugin?

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?

Upvotes: 2

Views: 185

Answers (1)

Thomas
Thomas

Reputation: 11888

Try using Formsets with the form set to avatar.forms.UploadAvatarForm

Upvotes: 1

Related Questions