[Django]-'is_superuser' is an invalid keyword argument for this function

4👍

Looks like is_superuser field overrided by property with same name. You should rename is_superuser property to fix error:

@property
def is_superuser_property(self):
    return self.is_admin

Leave a comment