Add fields list to a few ModelForms Meta class.
[htsworkflow.git] / htsworkflow / frontend / samples / admin.py
index b97668d4d804486bcb122dafd5ae56b827115c8d..619b3830421054fb6442aa5729391702adaa5d80 100644 (file)
@@ -78,6 +78,7 @@ class HTSUserCreationForm(UserCreationForm):
 class HTSUserChangeForm(UserChangeForm):
     class Meta:
         model = HTSUser
+        fields = ("username",'first_name','last_name')
 
 class HTSUserOptions(UserAdmin):
     form = HTSUserChangeForm