Re: Idea: Add .checked(/) to QuerySet as alternative to .filter() w/ .first()

2022-07-08 Thread Dave Gaeddert
Hey Mariusz, thanks for the link — I found some other threads but not that one. Would you mind saying why you're personally against it (`get_or_none` specifically)? At least how I read that thread, there was more debate about how to add it than whether to add it at all, and then Cal sort of "ga

Re: Adding a script positional argument to dbshell

2022-07-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi dbshell already passes all unknown arguments through to the underlying program. For example on postgres you can use the psql '-c' option like so: $ ./manage.py dbshell -c 'select 123' ?column? -- 123 (1 row) argparse allows a -- separator to split arguments for dbshell and the

Re: Hello everyone! Guide me in this journey.

2022-07-08 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi! I think you've found the wrong mailing list for this post. This mailing list is for discussing the development of Django itself, not for support using Django. This means the discussions of bugs and features in Django itself, rather than in your code using it. People on this list are unlikely t