Thanks tom,
that worked and now understand what i was doing wrong.
much appreciated.
On Feb 24, 7:08 am, Tom Evans wrote:
> On Fri, Feb 24, 2012 at 2:55 PM, richard wrote:
> > Hi Tom,
>
> > Thanks for your reply. So for clarity i thought i was getting the
> > userprofile to pass into the bound
On Fri, Feb 24, 2012 at 2:55 PM, richard wrote:
> Hi Tom,
>
> Thanks for your reply. So for clarity i thought i was getting the
> userprofile to pass into the bound form so that the userprofile_id in
> the UserProfilePic would get populated/saved. as if i leave the
> instance as None
> then i get
Hi Tom,
Thanks for your reply. So for clarity i thought i was getting the
userprofile to pass into the bound form so that the userprofile_id in
the UserProfilePic would get populated/saved. as if i leave the
instance as None
then i get an error saying that userprofile_id cannot be empty? also,
is
On Fri, Feb 24, 2012 at 2:20 PM, richard wrote:
> Hi, Am i doing this in the correct way?
> […]
>
> any help would be greatly appreciated.
>
> […]
>
> from .models import UserProfilePic
> class UserProfilePicForm(ModelForm):
> class Meta:
> model = UserProfilePic
> fields = ('prof
Hi, Am i doing this in the correct way? I am trying to accomplish a
UserProfile having multiple profile images. IE if a user uploads a
profile photo it gets saved as the default profile pic but if they
upload another pic then that becomes the default pic but i need to
keep records of all the profil
5 matches
Mail list logo