Mateusz Mandera
e655a7b251
migrations: Register (UPPER(email), realm) indexes in UserProfile.Meta.
...
It's nicer to have these indexes properly registered, rather than hidden
in RunSQL operations. Now that Django has had support for unique
functional indexes for a while, let's clean this up.
2024-09-30 11:21:25 -07:00
Anders Kaseorg
b0ce4f1bce
docs: Fix many spelling mistakes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2022-02-07 18:51:06 -08:00
Anders Kaseorg
6e4c3e41dc
python: Normalize quotes with Black.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-02-12 13:11:19 -08:00
Anders Kaseorg
11741543da
python: Reformat with Black, except quotes.
...
Signed-off-by: Anders Kaseorg <anders@zulip.com>
2021-02-12 13:11:19 -08:00
Mateusz Mandera
b9b146c809
migrations: Add case-insensitive unique indexes on realm and email.
...
Tweaked by tabbott to use clearer conventions and to document it in
the upgrade notes.
Fixes #15772 .
2020-07-15 09:42:40 -07:00