voronind / django-awesome-avatar

Django Avatar field

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got ''dict' object has no attribute 'url'' error

mutoulbj opened this issue · comments

Hi,I use django1.6 and modelform to change avatar,when i submit the form I got the "dict has no attribute 'url'" error and <ul class="errorlist"><li>avatar<ul class="errorlist"><li>This field cannot be blank.</li></ul></li></ul>

Anything error I made? Thanks.

Add in tag form parameter enctype="multipart/form-data".