Elimination of limitations of bulk_create in Django

2015-02-06 Thread Elita Lobo
Hello, I am a 3rd year student of NIT Durgapur , India as well as a Gnome Developer . I have worked on many Python projects as well. I would like to start contributing to django. Django does not allow bulk_create of objects with many_to_many field nor does it allow bulk update. Also it does no

Re: ***SPAM*** Re: Middleware+Transactions:

2015-02-06 Thread Thomas Güttler
Am 04.02.2015 um 14:04 schrieb Anssi Kääriäinen: I'd really like to be able to define middlewares that actually work in a well defined and easy to use way. Currently, there is no guarantee(!) that either process_exception or process_response gets called after process_request has been called for

Making the test suite run faster

2015-02-06 Thread Aymeric Augustin
Hello, As the test suite is growing, it’s getting slower. I’ve tried to make it faster by running tests in parallel. The current state of my experiment is here: https://github.com/django/django/pull/4063 I’m distributing the tests to workers with t

Re: automated import sorting and better pull request checks

2015-02-06 Thread Tim Graham
isort has released a new version, so I've finished this task by merging the cleanups in Django and adding another pull request builder to verify isort doesn't complain on new changes. Documentation is available here: https://docs.djangoproject.com/en/dev/internals/contributing/writing-code/codin

Re: Making the test suite run faster

2015-02-06 Thread Michael Manfre
Anything to make the test suite faster is a worthwhile effort. The speed up will be even better for those of us with slower dev systems. Getting the speed boost for in memory sqlite is a good start and Django is much more than an ORM. It'll take work to improve the database isolation for the test s

Feature proposal: Allow shadowing of abstract fields

2015-02-06 Thread Marten Kenbeek
Hey, While fiddling with django I noticed it would be trivial to add support for shadowing fields from abstract base models. As abstract fields don't exist in the database, you simply have to remove the check that reports name clashes for abstract models, and no longer override the field. Thi

Re: Elimination of limitations of bulk_create in Django

2015-02-06 Thread Russell Keith-Magee
Hi Elita, On Fri, Feb 6, 2015 at 1:39 PM, Elita Lobo wrote: > Hello, > > I am a 3rd year student of NIT Durgapur , India as well as a Gnome > Developer . I have worked on many Python projects as well. I would like to > start contributing to django. > Django does not allow bulk_create of objects

Re: Making the test suite run faster

2015-02-06 Thread Russell Keith-Magee
On Sat, Feb 7, 2015 at 12:05 AM, Aymeric Augustin < aymeric.augus...@polytechnique.org> wrote: > Hello, > > As the test suite is growing, it’s getting slower. I’ve tried to make it > faster by running tests in parallel. > > The current state of my experiment is here: > https://github.com/django/dj

Re: Feature proposal: Allow shadowing of abstract fields

2015-02-06 Thread Russell Keith-Magee
Hi Marten, I can understand the motivation, and the approach you've taken makes sense. It definitely strikes me as a much better alternative to tickets like #24288 than a setting. https://code.djangoproject.com/ticket/24288 The DRY issue isn't a huge problem for me - it's certainly ungainly to n

User.username max_length 254

2015-02-06 Thread Collin Anderson
Hi All, I was reminded by: Allow shadowing of abstract fields https://groups.google.com/d/msg/django-developers/6zUfnElOIks/8uwXji559EsJ and https://code.djangoproject.com/ticket/24288 (Custom User Models for small tweaks). Could we reopen https://code.djangoproject.com/ticket/20846 and increas

Re: Feature proposal: Allow shadowing of abstract fields

2015-02-06 Thread Marten Kenbeek
Hi Russ, I can see your point on accidentally overriding fields, though I'm not sure I agree. In any other case, such as normal attributes and methods, there is no safety net for overriding attributes either. Any model that would be affected by this change would also raise an error on import wi