Re: GSoC Proposal: (Migrations) Adapt schema editors to operate from model states instead of fake rendered models.

2021-04-06 Thread Manav Agarwal
Thank You Carlton for the feedback. As per your suggestion, I have increased the clarity of the proposal with some code and implementation. I will try to maximize the clarity as much as possible. Till then, May you please suggest

Re: Adding ability to choose AutoField type (signed vs unsigned)

2021-04-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
I also don't think this is necessary any more and can be closed. > An explicit `id = PositiveBigIntegerField(...)` workaround would be fine > to be honest, for those that need it. I also would like to meet the django app that *does* need it (for non-silly reasons like deciding to start ID's nea

Re: GSoc proposal : A django pdfs library.

2021-04-06 Thread Anuttam Anand
Hey Carlton, Thanks for responding . This is my first open source project and I'm pretty scared . But my view is to add features for a django pdf library , features which other frameworks have and are not in current scope like in ReportLab. After doing some research , I have found some python ba

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread Carlton Gibson
Super. Thank you. > On 6 Apr 2021, at 16:25, ⁨אורי⁩ <⁨u...@speedy.net⁩> wrote: > > OK, here is a draft PR: https://github.com/django/django/pull/14226 > > אורי > u...@speedy.net > > On Tue, Apr 6, 2021 at 4:53 PM Carlton Gi

Re: Adding ability to choose AutoField type (signed vs unsigned)

2021-04-06 Thread Tom Forbes
I don't think we need this anymore, at least not by default. The default 64 bit range is probably enough for the time being. We could switch the default to be `PositiveBigIntegerField` instead of `BigIntegerField` but I'm not sure if that's sensible. An explicit `id = PositiveBigIntegerField(...)`

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread אורי
OK, here is a draft PR: https://github.com/django/django/pull/14226 אורי u...@speedy.net On Tue, Apr 6, 2021 at 4:53 PM Carlton Gibson wrote: > Hey Uri. > > Yes, I know Claude is busy at the moment (as I think is everyone this last > year) but we’ll certainly need his input. > > For me, a small

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread Carlton Gibson
Hey Uri. Yes, I know Claude is busy at the moment (as I think is everyone this last year) but we’ll certainly need his input. For me, a small set of changes just showing what’s needed (in one place) — with any relevant links and “Do X, then Y, then Z” steps — helps to focus the discussion, a

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread אורי
Hi Carlton, Thanks for the feedback. Do you want me to create the draft PR? I would also like to receive feedback from Claude (cc), to see if we are in the right direction. Maybe it's possible to update things automatically via Transifex? Thanks, Uri. אורי u...@speedy.net On Tue, Apr 6, 2021 at

Re: GSoc proposal : A django pdfs library.

2021-04-06 Thread Carlton Gibson
Hi Anuttam. I’d guess that a PDF library itself would be out of scope for Django itself — but this is a perennial problem. **Quite maybe** a project to modernise the Outputting PDFs with Django docs would be in scope... 🤔 https://docs.djangoproject.com/en/3.1/howto/outputting-pdf/ Questions tha

Re: GSoC Proposal: (Migrations) Adapt schema editors to operate from model states instead of fake rendered models.

2021-04-06 Thread Carlton Gibson
Hi Manav. Sorry for the late reply. Your proposal looks very good, and your previous contributions are noticed. You’ve obviously taken time to look at it in depth. I think just going over it this week as time allows to maximise clarity is worth it. That’s always time well spent. (Generally there

Re: Google season of docs

2021-04-06 Thread Mhd Ali
Okay On Apr 6, 2021 14:34, "Carlton Gibson" wrote: Hi. On Sun, 4 Apr 2021 at 12:12, Mhd Ali wrote: > Will Django be participating in Google season of docs this year? > No, we didn’t apply this year. Simply for the lack of spare capacity given the ongoing pandemic, we didn’t feel we had the b

Re: Google season of docs

2021-04-06 Thread Carlton Gibson
Hi. On Sun, 4 Apr 2021 at 12:12, Mhd Ali wrote: > Will Django be participating in Google season of docs this year? > No, we didn’t apply this year. Simply for the lack of spare capacity given the ongoing pandemic, we didn’t feel we had the bandwidth. Kind regards, Carlton > -- You received

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread Carlton Gibson
Hey Uri. Thanks for bumping this up — Yes, it looks like the plan is to make the adjustments that you suggested on the ticket. I guess I’d just suggest doing a little bit as a proof-of-concept and opening a Draft PR so we can have a look, and confer with Claude to approve the general approach, be

Re: Test fails silently when using --tag

2021-04-06 Thread Santlalkewat Kewat
santlalkew95...@gmail.com On 4 Apr 2021 6:56 p.m., "Cammil Taank" wrote: > Hi All, > > When I run tests using the --tag option, and there is a module level > exception, the tests seem to pass without any errors. > > Steps to reproduce: > 1. Add this to tests: > from django.test import TestCase >

Re: Adding ability to choose AutoField type (signed vs unsigned)

2021-04-06 Thread אורי
Hi, I think any primary key field which is an integer should be 64 bits unsigned. 32 bits integers belong to the history, and there is no need for negative primary keys. It's like when they defined IPv4, they defined it with 32 bits and now we are stuck forever with 32 bits IP addresses. You can n

Re: Adding ability to choose AutoField type (signed vs unsigned)

2021-04-06 Thread Caio Ariede
Hello folks, Now that we’ve completed these: https://code.djangoproject.com/ticket/31007 https://code.djangoproject.com/ticket/30987 I’m wondering if https://code.djangoproject.com/ticket/56 is still something we want to solve. I feel like the workaround would be to explicitly define ``id = m

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread אורי
Hi Adam, What will a PR require? Does it require to change all the translations in all the languages, as well as the translation keys? And how do we intend to update it with the current translations in Transifex? Do you want me to handle such a PR? Thanks, Uri. אורי u...@speedy.net On Tue, Apr

Re: Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
Hi Uri It depends on someone making the change. It looks like Ryan Cheley assigned it to themselves but hasn't made a PR. Perhaps you could? Thanks, Adam ‪On Tue, 6 Apr 2021 at 11:17, ‫אורי‬‎ wrote:‬ > Hi, > > https://code.djangoproject.com/ticket/31937 > > Any chance this will be fixed befor

Can't translate strings properly to Hebrew and Arabic (#31937)

2021-04-06 Thread אורי
Hi, https://code.djangoproject.com/ticket/31937 Any chance this will be fixed before the next major release? (4.0). Remember it will also take time to fix the relevant translations - I estimate it will take ~2 months to fix them before they are released to production. In English too, I suggest

Django 3.2 Released

2021-04-06 Thread Carlton Gibson
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2021/apr/06/django-32-released/ -- You received this message because you are subscribed to the Google Groups "Django developers (Con

Django security releases issued: 3.1.8, 3.0.14, and 2.2.20

2021-04-06 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2021/apr/06/security-releases/ -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and st