Skip to content

Commit

Permalink
Remove double index, this fixes #21
Browse files Browse the repository at this point in the history
  • Loading branch information
acatton committed Nov 2, 2015
1 parent 1f31ab4 commit 3080b55
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions authtools/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,7 @@ def create_superuser(self, **kwargs):


class AbstractEmailUser(AbstractBaseUser, PermissionsMixin):
email = models.EmailField(_('email address'), max_length=255, unique=True,
db_index=True,)
email = models.EmailField(_('email address'), max_length=255, unique=True)

is_staff = models.BooleanField(_('staff status'), default=False,
help_text=_('Designates whether the user can log into this admin '
Expand Down

0 comments on commit 3080b55

Please sign in to comment.