On 22 February 2010 14:06, CrabbyPete <pete.do...@gmail.com> wrote:
> I have form with where users can upload an image. All works well but I
> want a graphic instead of the default browse button that shows up. Can
> I change it and if so how do you change it in the form field or
> template?
>
>
> class ProfileForm(SignUpForm):
>
>    mugshot         = forms.ImageField      (required = False)
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To post to this group, send email to django-us...@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.
>
>

I don't really understand what are you trying to do, but if you want
to change the appearance of the forms buttons you should try to use
CSS, it has nothing to do with Django AFAIK (except maybe you could
create your own widget but i don't see how that would help).

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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