• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ixc / django-polymorphic-auth / 53 / 2
75%
develop: 72%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: develop
Ran 27 Mar 2017 06:12AM UTC
Files 28
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

27 Mar 2017 06:10AM UTC coverage: 70.096% (+0.5%) from 69.586%
TOXENV=django18-py33

push

travis-ci

jmurty
Prevent save of clashing users when username is case-insensitive #7

For user type models with a case-insensitive username surrogate field,
as indicated by the `IS_USERNAME_CASE_INSENSITIVE` class attribute,
perform a check before saving new users to ensure that the username
provided doesn't clash with an existing username differing only by
case.

In particular, this change will prevent creation of `EmailUser`
accounts with slight case variations of the email address.

PENDING: Do the same checks in the admin forms to return a nicer
error message to the user instead of a 500 error. This should be
a last-ditch effort to maintain data integrity.

293 of 418 relevant lines covered (70.1%)

0.7 hits per line

Source Files on job 53.2 (TOXENV=django18-py33)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 53
  • Travis Job 53.2
  • 3dfb99f1 on github
  • Prev Job for TOXENV=django18-py33 on 7-make-email-user-email-case-insensitive (#52.2)
  • Next Job for TOXENV=django18-py27 on 7-make-email-user-email-case-insensitive (#54.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc