Thoughts on Django Model attribute (descriptor) inheritance.

2019-05-14 Thread Jarek Głowacki
Hi friends, I've raised a ticket here: https://code.djangoproject.com/ticket/30427#ticket Has an associated PR and all. Looking for some experts in this area to eyeball and drop some thoughts/opinions, or even better, knowledge as to why we're doing things this way presently. I feel Django does

Re: Thoughts on Django Model attribute (descriptor) inheritance.

2019-05-14 Thread Kye Russell
I don’t know enough to speak on the reasoning behind the current implementation, but from the perspective of developer experience, I’ve run into this a few times, and the current behaviour has felt jarring and unpythonic. From: Jarek Głowacki Reply: django-developers@googlegroups.com Date: 15

Re: Introduction

2019-05-14 Thread Adam Johnson
Try checking out an older commit and running the tests there. It may be that this doesn't work in all situations on the current latest commit on the master branch. On Tue, 14 May 2019 at 14:25, Ruchit Vithani wrote: > Hey Adam! I'm running tests same way as in that documentation. In tests > dire

Re: Introduction

2019-05-14 Thread Ruchit Vithani
Hey Adam! I'm running tests same way as in that documentation. In tests directory, I used `python -m pip install -r requirements/py3.txt` and then ` ./runtests.py`. I tried this again, but output is same. -- You received this message because you are subscribed to the Google Groups "Django dev

Re: Introduction

2019-05-14 Thread Adam Johnson
Hi Ruchit You should not be trying to 'pip install' the tests module. There is no tests module in Django's tree, there is a test directory that contains many individual test modules: https://github.com/django/django/tree/master/tests . You can see there's an i18n module in there. >From your trace

Re: Introduction

2019-05-14 Thread Ruchit Vithani
I've already installed requirements for tests. Before this, there was a module `tests` which wasn't present, and I installed it using `pip3 install tests`. This is the second module, which is not found. Am I missing something? This is a link to traceback: https://dpaste.de/XYTB -- You receive

Re: Introduction

2019-05-14 Thread Ruchit Vithani
I'm taking about this requirements, which are described in the documentation. On Tuesday, May 14, 2019 at 6:09:34 PM UTC+5:30, Ruchit Vithani wrote: > > I've already installed requirements for tests. Before this, there was a > module `tests` which wasn't present, and

Re: Django Async DEP

2019-05-14 Thread Andrew Godwin
On Mon, May 13, 2019 at 4:31 AM Tobias Kunze wrote: > Hi Andrew (and everybody following the discussion, of course), > > First off, thank you for your work here. DEP9 is an excellent technical > document, and it was as easy and pleasant to read as a document of this > scope and depth can be. > >

Re: How to deal with potential Django bugs you come accross

2019-05-14 Thread Erik Stein
Hey Curtis -- thanks for your answer! I'll do this from now on (and of course I'll try me best to write a complete bug report including a proposed fix if the time allows). https://code.djangoproject.com/ticket/30475#ticket Have a nice day -- erik On 13.05.19 18:19, Curtis Maloney wrote: