Re: overriding the UserChangeForm

2009-03-31 Thread Marcos Marín
Hi Malcom, thanks for your response. However this would not fix my problem since I'm not using this in the Admin Interface so I have no ModelAdmin subclass. All I'm doing is subclassing the form so I can use it in a view where the user will be able to change his email address. On Tue, Mar 31, 20

Re: overriding the UserChangeForm

2009-03-31 Thread Malcolm Tredinnick
On Tue, 2009-03-31 at 16:50 -0600, Marcos Marín wrote: > I have overridden the user change form, I only want to have the email > field however the username field seems to always appear no matter > what. Is this a bug or by design? I'm using the beta. I stumbled across this yesterday. I'm not sure

overriding the UserChangeForm

2009-03-31 Thread Marcos Marín
I have overridden the user change form, I only want to have the email field however the username field seems to always appear no matter what. Is this a bug or by design? I'm using the beta. class EstudianteForm(UserChangeForm): class Meta(UserChangeForm.Meta): fields = ( 'e