Changes between Initial Version and Version 1 of Ticket #25399


Ignore:
Timestamp:
Sep 14, 2015, 4:51:28 AM (9 years ago)
Author:
SimonSteinberger
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #25399 – Description

    initial v1  
    77By adding a database index, the process takes only about a microsecond. Using PostgreSQL, we've simply added the index manually, which works fine:
    88
    9     CREATE INDEX accounts_myuser_username_upper ON  accounts_myuser (UPPER(username));
     9    CREATE INDEX accounts_user_username_upper ON  accounts_user (UPPER(username));
    1010
    1111Yet, this is a crucial part of most web applications and therefore, it would probably make sense if Django created the index automatically for the integrated User and AbstractUser classes. Or at least, the issue could be pointed out clearly in the docs.
Back to Top