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: Date:

Re: Proposal to format Django using black

2019-04-15 Thread Kye Russell
This is something discussed af length on the black issue tracker and not something the author wishes to change. On Mon, 15 Apr 2019 at 4:47 pm, Dmitriy Sintsov wrote: > Why can't it use mixed quotes, single quotes for all strings except the > strings that contain single quote characters? I

Development story for CBV FormViews using GET

2019-03-08 Thread Kye Russell
Hi, Sometimes it is appropriate to for a HTML form to use the GET method for submission (usually search / filter forms). My impression has always been that in order to build a FormView-based view that acts on GET data, you have to override a few methods on your class (which involves

Re: Exposing custom views in admin index page

2019-03-06 Thread Kye Russell
I understand that overly extending the admin interface is a common anti pattern, but this still feels within reason to me. Extending the admin interface in this way has for me personally felt like a bit of a black box. On Wed, 6 Mar 2019 at 7:40 pm, mrts wrote: > Hello! > > Django ModelAdmin

Re: Official Django Docker Container Deprecated

2019-02-28 Thread Kye Russell
Agreed. As someone that Dockerizes all of their Django development I can speak to how opinionated such an image would HAVE to be. It can certainly be done, but I don’t think it should. There is also an implied security / maintenance burden so unfortunately even if it were appropriate, it’s not

Re: BitBounce Spam Replies From the Mailing List

2019-02-17 Thread Kye Russell I’m sure that falsely replying to mailing list emails helps with these numbers. I’m just going ahead and marking them as spam, because that’s what they are. It’s negligence at this point. On Mon, 18 Feb 2019 at 4:35 am, Aymeric

Re: Use CDN for

2019-02-13 Thread Kye Russell
I’ve been hearing that there are other CDN providers that offer a very comparable service for a fraction of the cost of CloudFront. Anyways, at this stage let’s not get bogged down on provider decisions. I’m curious if anyone has any general objections to a CDN of any kind. It shouldn’t be that

Re: Extend FAQ with "How do I get Django and my JS framework to work together?"

2019-02-04 Thread Kye Russell
Say what you want about the arguably unnecessary proliferation of complex JavaScript applications / build pipelines upon the Internet over the past 5 or so years, but there’s no denying it’s becoming a necessary component in a large portion of complex web projects. I also think that—if it hasn’t

Re: Automatically initialise the project as git repo

2019-01-25 Thread Kye Russell
I am against this. It assumes too much about the user's system and version management preferences. I think there is little to gain given that `git init .` is 10 characters. On Fri, Jan 25, 2019 at 8:35 PM mihir karbelkar wrote: > Hi, > I have made several projects with Django but every time I

Re: Ticket 2273: django.contrib.auth.models.User: username is case-sensitive

2019-01-05 Thread Kye Russell
Involving email addresses in the discussion complicates things because of the involvement of the email RFC (or RFCs?) which IIRC dictates that the mailbox portion of an email address may be case sensitive. Back to OPs point, I feel that you should respect the case of a username for display

Re: A faster paginator for django

2018-12-15 Thread Kye Russell
It might also be worth looking at the alternative pagination methods offered by Django REST Framework as a source of inspiration. On Wednesday, December 5, 2018 at 8:15:22 PM UTC+8, Saleem Jaffer wrote: > > Hi all, > > The default paginator that comes with Django is inefficient when dealing >