mirror of
				https://github.com/fspc/workstand.git
				synced 2025-10-31 08:25:35 -04:00 
			
		
		
		
	Flake8.
This commit is contained in:
		
							parent
							
								
									b84fcb9155
								
							
						
					
					
						commit
						dae8a8f411
					
				| @ -16,7 +16,7 @@ class CustomUserManager(BaseUserManager): | ||||
| 
 | ||||
|         user = self.model( | ||||
|             email=self.normalize_email(email), | ||||
|         ) | ||||
|             ) | ||||
| 
 | ||||
|         user.set_password(password) | ||||
|         user.save(using=self._db) | ||||
| @ -42,7 +42,7 @@ class CustomUser(AbstractBaseUser, PermissionsMixin): | ||||
|         verbose_name='email address', | ||||
|         max_length=255, | ||||
|         unique=True, | ||||
|     ) | ||||
|         ) | ||||
|     is_admin = models.BooleanField(default=False) | ||||
|     is_active = models.BooleanField(default=True) | ||||
| 
 | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user