#NEWLINE# def create_superuser( self , email , display_name , password , **extra_fields ) : #NEWLINE# #INDENT# '\n        Creates a new superuser\n\n        Parameter\n        ---------\n        email : str\n            Email address of the new user\n        display_name : str\n            display name of the new user\n        password : str\n            password of the new user\n\n        Returns\n        -------\n        geokey.user.models.User\n            The user that has been created\n        ' #NEWLINE# user = self . create_user ( email , display_name , password = extra_fields , ** extra_fields ) #NEWLINE# user . is_superuser = True #NEWLINE# user . save ( ) #NEWLINE# return user