Changes between Initial Version and Version 1 of Ticket #25399
- Timestamp:
- Sep 14, 2015, 4:51:28 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #25399 – Description
initial v1 7 7 By adding a database index, the process takes only about a microsecond. Using PostgreSQL, we've simply added the index manually, which works fine: 8 8 9 CREATE INDEX accounts_ myuser_username_upper ON accounts_myuser (UPPER(username));9 CREATE INDEX accounts_user_username_upper ON accounts_user (UPPER(username)); 10 10 11 11 Yet, 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.