Answers for "The value of 'ordering[0]' refers to 'username', which is not an attribute of 'users.User'"

0

The value of 'ordering[0]' refers to 'username', which is not an attribute of 'users.User'

class CustomUserAdmin(BaseUserAdmin):
    ...
    ordering = ('email',)
Posted by: Guest on October-24-2021

Code answers related to "The value of 'ordering[0]' refers to 'username', which is not an attribute of 'users.User'"

Browse Popular Code Answers by Language