Ticket #6089: unordered-auth.diff

File unordered-auth.diff, 589 bytes (added by ekarulf, 7 years ago)

Removed ordering by default from User and Group

  • django/contrib/auth/models.py

     
    9696    class Meta:
    9797        verbose_name = _('group')
    9898        verbose_name_plural = _('groups')
    99         ordering = ('name',)
    10099
    101100    class Admin:
    102101        search_fields = ('name',)
     
    146145    class Meta:
    147146        verbose_name = _('user')
    148147        verbose_name_plural = _('users')
    149         ordering = ('username',)
    150148
    151149    class Admin:
    152150        fields = (
Back to Top