Re: Widening participation (Thoughts from DjangoCon)

2018-12-12 Thread Tom Forbes
Regarding Gitlab: I love gitlab and for organizations it's one of if not the best tools in its space. But it falls down for projects like Django, and I don't think moving migrating the code from GitHub is a good idea. The labels would need automating, which would require a GitHub bot of some kind.

Re: PEP 484 type hinting in Django

2018-12-12 Thread Carlton Gibson
Hi all. Where are we with this Type Hinting work? I just closed https://code.djangoproject.com/ticket/30019 as needsinfo pointing back to this thread. As far as I can see: * There's keenness for this. * There's a number of people who are prepared to put in the effort. * But we just ne

Re: Proposal: Allow contrib.sites to use the request host and fallback to a SITE_ID

2018-12-12 Thread Carlton Gibson
Hi Ira, Thanks for your post. I wasn't able to follow your use-case exactly: On Monday, 10 December 2018 13:47:54 UTC+1, Ira Abbott wrote: > > We all learn very early in playing with django to set a site and a > SITE_ID. Once we operate as multiple sites, we either use the multiple > processe

Django self reference (FK) change SQL result

2018-12-12 Thread igor malinov
Good day for Everyone. Because I have self-reference, my queryset no work properly I have a model class Agency(Organization): organization_ptr = models.OneToOneField(to='Organization', parent_link=True, primary_key=True, related_name='%(class)s', serialize=False, on_delete=CASCADE) accr

Re: Proposal: Allow contrib.sites to use the request host and fallback to a SITE_ID

2018-12-12 Thread Ira Abbott
Hi Carlton, Thanks for taking the time to investigate. I specifically tried to generalize for this forum as I believe the underlying behaviour for which I am proposing change is fundamental enough to warrant attention but this group. My specific use case involves allauth and dbtemplates, two

Re: Django self reference (FK) change SQL result

2018-12-12 Thread Ira Abbott
A few questions: You are posting this example because you believe you have found a bug in django, correct? Otherwise, please post to the users group. The behavioral problem described is "exclude - no really exclude", correct? You perform an exclusion and do not see the exclusion and then sho

Re: A Django Async Roadmap

2018-12-12 Thread Ray Marceau
James Addison, I also currently use `psycogreen.gevent` for postgresql async behaviour. > How did you go about using psycogreen.gevent for async postgres? I tried using various tools and was unsuccessful in seeing any performance improvements. I was following the info here: https://medium.