Re: Arrayfield constraint issue in 4.1

2022-12-13 Thread rahul sharma
What error tell me?? On Tue, Dec 13, 2022, 15:40 Manjusha wrote: > I am not understanding what you are telling. > > On Tuesday, December 13, 2022 at 3:58:19 PM UTC+5:30 rahul@gmail.com > wrote: > >> Last time i told u give me excess ur laptop >> >> On Tue, Dec 13, 2022, 15:02 Manjusha wrote

Re: Arrayfield constraint issue in 4.1

2022-12-13 Thread Manjusha
I am not understanding what you are telling. On Tuesday, December 13, 2022 at 3:58:19 PM UTC+5:30 rahul@gmail.com wrote: > Last time i told u give me excess ur laptop > > On Tue, Dec 13, 2022, 15:02 Manjusha wrote: > >> Hey anyone reply me. > > >> >> On Monday, December 12, 2022 at 10:51:0

Re: Arrayfield constraint issue in 4.1

2022-12-13 Thread rahul sharma
Last time i told u give me excess ur laptop On Tue, Dec 13, 2022, 15:02 Manjusha wrote: > Hey anyone reply me. > > On Monday, December 12, 2022 at 10:51:00 PM UTC+5:30 Manjusha wrote: > >> Yes,I got it !! >> I have a doubt about the following link : >> https://github.com/django/django/branches >

Re: Arrayfield constraint issue in 4.1

2022-12-13 Thread Manjusha
Hey anyone reply me. On Monday, December 12, 2022 at 10:51:00 PM UTC+5:30 Manjusha wrote: > Yes,I got it !! > I have a doubt about the following link : > https://github.com/django/django/branches > > I want to ask you about this branches.desktop file. > And I have attached a screenshot. > > > On

Re: Arrayfield constraint issue in 4.1

2022-12-12 Thread James Gillard
I agree it looks odd, but the docs I linked say that list is fine, and here's example from a test inside Django itself: https://github.com/django/django/blob/cb791a2540c289390b68a3ea9c6a79476890bab2/tests/postgres_tests/models.py#L51 [image: James from Journee]

Re: Arrayfield constraint issue in 4.1

2022-12-12 Thread Manjusha
I think default should be assigned like this default=[ ] or default= list() But I'm junior so may I don't know well On Mon, 12 Dec 2022, 03:13 James Gillard, wrote: > The callable list is indeed assigned as the default for the ArrayField, as > documented here: > https://docs.djangoproject.co

Re: Arrayfield constraint issue in 4.1

2022-12-11 Thread James Gillard
The callable list is indeed assigned as the default for the ArrayField, as documented here: https://docs.djangoproject.com/en/4.1/ref/contrib/postgres/fields/#django.contrib.postgres.fields.ArrayField The original issue has already had a patch merged, which will be released in 4.1.5, see the f

Re: Arrayfield constraint issue in 4.1

2022-12-11 Thread Manjusha
Hello Sir, I need to understand the form.py file because , what is the only list you have assigned as default in arrayfield, is it the method list() ? On Sat, Dec 10, 2022 at 10:00 PM James Gillard wrote: > Thanks for the feedback. I opened a ticket and it was indeed confirmed as > a bug: htt

Re: Arrayfield constraint issue in 4.1

2022-12-10 Thread James Gillard
Thanks for the feedback. I opened a ticket and it was indeed confirmed as a bug: https://code.djangoproject.com/ticket/34205 On Thursday, 8 December 2022 at 15:04:40 UTC Ryan Nowakowski wrote: > Might be a bug. Check the release notes for the post 4.0.8 versions to see > if anything related cha