CITextField base class

2017-02-07 Thread Sean Brant
I noticed the new postgres citext[1] field is a subclass of CharField. Wouldn't it be more correct to subclass TextField? Subclassing CharField means we need to add a max_length which is ignored in the db. [1]

Re: slow migrations

2017-02-07 Thread charettes
Hello Venelin, Thanks for thanking the time to investigate the source of the slowdown you were experiencing on your project. I know you mentioned it would require a lot of effort to port your project to Django 1.10 but I'm pretty sure recent changes to RenameModel.state_forward would solve

Re: slow migrations

2017-02-07 Thread Venelin Stoykov
Hello all, I had the same problem with Django 1.8 project with 76 applications and 229 migrations in total. Even when the project was fully migrated and you execute *manage.py migrate* it takes 90 seconds after the message "*No migrations to apply.*" to finish. If I upgrade to Django 1.9 then

Re: 'request' object is always None in auth backend's authenticate()?

2017-02-07 Thread Zoltan Gyarmati
Dear Tim & All, i sent a pull request against master [1], but it would need backporting for the 'stable/1.11.x' branch (it doesn't apply cleanly). Should i send an other PR against 'stable/1.11.x' branch, or it's up to the maintainer to backport it? [https://github.com/django/django/pull/8029]