Comment improved.
This commit is contained in:
		@@ -42,7 +42,7 @@ class ExplorerUserChangeForm(UserChangeForm):
 | 
			
		||||
    ''' Hide password hint.'''
 | 
			
		||||
    password = None
 | 
			
		||||
 | 
			
		||||
    ''' Display username, but make it uneditable and not required. '''
 | 
			
		||||
    ''' Display username, but display it non-editable and not required. '''
 | 
			
		||||
    def __init__(self, *args, **kwargs):
 | 
			
		||||
        super().__init__(*args, **kwargs)
 | 
			
		||||
        self.fields['username'].required = False
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user