News for hackers. Stuff that matters.
Re:Django 1.9 Released by jsmeaton on Tuesday December 01, 2015 @10:38PM (#10660752)
FWIW I agree the solutions in that thread aren't good enough, especially since most of them are postgres specific. Now that migrations can be shipped with contrib.auth, a better solution might be possible.

I'd probably prefer a functional unique index since it would be easier to maintain (rather than duplicate fields). We just need to get expression support into indexes.

Re:Django 1.9 Released by ubernostrum on Wednesday December 02, 2015 @08:22AM (#10662765)
Well, I hear there's this expressions API and that now it's possible to use them during the initial creation/save of an object... maybe there's some normalization people could do with that :)