Why not creating the index as LOWER(email) and do the lookup as LOWER?
On Nov 23, 2015 6:18 PM, "Carl Meyer" wrote:
> On 11/23/2015 03:52 PM, Carl Meyer wrote:
> ...
> > I suppose the best we could do to ease this would be to add a
> > CreateExtension migration operation in contrib.postgres that,
On 11/23/2015 03:52 PM, Carl Meyer wrote:
...
> I suppose the best we could do to ease this would be to add a
> CreateExtension migration operation in contrib.postgres that, if lacking
> super-user permissions, simply errors out and tells you what SQL you
> need to run manually as a super-user?
..
Hi Aymeric,
On 11/22/2015 11:56 AM, Aymeric Augustin wrote:
> I spent a good part of today implementing what must be the most common
> scenario for custom user models: case-insensitive email as username.
> (Yes. This horse has been beaten to death. Multiple times.)
>
> Since it was the first time
It’s considered a good practice to enable template caching in Django. It
saves on the overhead of loading and parsing templates and turning them
into template objects, which can give a nice performance boost when
repeatedly rendering the same templates.
Currently it’s possible to enable templat