Re: Recognising Contributions

2021-06-30 Thread Carlton Gibson
Hi David, Thanks for this. Yes. Let's assume the 2020-2021 time filter is in place. Mariusz recently picked up James' PR to add the list of Core Contributors (back) to the website, which is/was part of the DEP 10 governance changes. https://github.com/django/djangoproject.com/pull/1099 The

Lack of validation at the object level.

2021-06-30 Thread Михаил Итпрогер
Hello, I am currently developing a reusable application using the Django framework.It just so happens that the instances of the models of this application will most often be created inside the code, and not in the forms.I've created validators for fields that only work in forms, but I would like to

Re: Ability to annotate instances with querysets: reconsidering 30653

2021-06-30 Thread Alexander Hill
Hi Chris, Without wanting to preclude discussion of this kind of functionality ending up in Django itself, which I think would be great - I created https://github.com/alexhill/django-relativity to meet this kind of need. In your example, it would look a like this: from relativity import Relation

Re: Lack of validation at the object level.

2021-06-30 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
What validation do you need? Much can be done in the database with constraints, especially check constraints. On Wed, 30 Jun 2021 at 08:05, Михаил Итпрогер wrote: > Hello, I am currently developing a reusable application using the Django > framework. > > It just so happens that the instances of

Re: Lack of validation at the object level.

2021-06-30 Thread 'Adam Johnson' via Django developers (Contributions to Django itself)
"Unique restriction will be ignored" - this is not the case. Uniqueness is enforced by the database, so as long as your migrations have been built and run correctly, the database will error when trying to insert a duplicate unique value. If you're finding that you can create duplicates on unique fi

Re: Lack of validation at the object level.

2021-06-30 Thread Args Kwargs
Thank you so much. ср, 30 июн. 2021 г. в 18:43, 'Adam Johnson' via Django developers (Contributions to Django itself) : > "Unique restriction will be ignored" - this is not the case. Uniqueness is > enforced by the database, so as long as your migrations have been built and > run correctly, the d

Re: Fellow Reports - June 2021

2021-06-30 Thread Mariusz Felisiak
Week ending June 27, 2021 *Triaged: * https://code.djangoproject.com/ticket/32856 - Django 2.2 not compatible with psycopg 2.9 (wontfix) https://code.djangoproject.com/ticket/32862 - Order By in Postgres When Using Annotations Causes Ambiguous Field Name (needsinfo) https://code.djang