Re: [RFC] Test methods filtering on tests run

2016-05-24 Thread Journeyman
I have created a ticket on TRAC: https://code.djangoproject.com/ticket/26659 If the ticket is accepted I'll push it as a pr. Comments are welcome. Regards, Antonio On 17/05/2016 21:31, Journeyman wrote: On 17/05/2016 02:32, Josh Smeaton wrote: I have the same problem when running tests in D

Re: Dynamic AUTH_USER_MODEL based on modules or routes

2016-05-24 Thread farhah . zm
The original post was in 2013 and today is 2016. I had the same problem as yours and I managed to find a solution. In case anyone is still wondering on how to tackle this problem, here is my solution. from django.apps import apps User = apps.get_model(app_label=yourapplabel, model_name=yourmod

Re: Better form fields for django.contrib.postgres.fields

2016-05-24 Thread Paul Martin
*OK thanks for the replies. The first enhancement would be a change in how choices are handled for the ArrayField. With this change,* *choices would be based on the base field. If choices keyword argument is given, a multiple choice field is used and the array value will be composed* *of thes