Skip to content
Snippets Groups Projects
Commit 92df3e92 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add a default ordering to the users

parent 3103f242
No related branches found
No related tags found
No related merge requests found
......@@ -82,3 +82,6 @@ class User(AbstractUser):
@property
def is_apply_staff(self):
return self.groups.filter(name=STAFF_GROUP_NAME).exists() or self.is_superuser
class Meta:
ordering = ('full_name', 'email')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment