Re: Avoid unbounded memory consumption when running `manage.py test`

2013-08-02 Thread Matt McClure
On Thursday, August 1, 2013 3:50:33 AM UTC-4, Florian Apolloner wrote: > For Python >= 2.7 it should be CPython; for everything below the separate > unittest2 repository. > Thanks. Just closing the loop. Now there's a conversation[1] on python-dev which led to an existing ticket[2] that's alm

Change username field widget in AuthenticationForm based on USERNAME_FIELD

2013-08-02 Thread Anders Steinlein
Hi all, I have implemented a custom user model that extends AbstractBaseUser, where an EmailField is set as the USERNAME_FIELD. Logging in with a default auth login view and AuthenticationForm works nicely, however, the username field is still a CharField and thus rendered as a regular input field

Use case for #14914 (to_db_python)

2013-08-02 Thread Alejandro Dubrovsky
Looking around for a way to get the connection on deserialisation, I ran into #14914 which was closed wontfix 3 years ago with a request for a use case for the change. Here is my use case: I'm writing an encrypted char field, with encryption happeni

Re: [GSoC] Revamping validation framework and merging django-secure once again

2013-08-02 Thread Christopher Medrela
Unfortunately, I'm a bit late. I didn't suspected that polishing code after review takes so much time. Lots of my work from last Wednesday was small improvements, but there are some vital changes: The API will be consistent with API of logging module or message framework. Being consistent means th