Re: django.db.utils.OperationalError: index row requires 45344 bytes, maximum size is 8191

2022-04-02 Thread Antonis Christofides
=self.business).count() / DATA_PER_PAGE + 1
def __str__(self) -> int:
return self.id
*
*
*This started when I added the a class Meta with unique_together field*
*
*
# class Meta:
# unique_together = ('business', 'name')
*
*
*But after I removed it, and did makemigration, then migrated, then I started 
getting this error*

*
*
*
*
*AJAYI Sunday *
(+234) 806 771 5394
/sunnexaj...@gmail.com/



On Sat, Apr 2, 2022 at 6:49 AM Antonis Christofides 
 wrote:


Hi,

could you show the definition of your model?

Antonis Christofides
+30-6979924665 (mobile)



On 02/04/2022 00.43, Sunday Ajayi wrote:

Hi Team,


Please I am having the error below from django - postgresql:

django.db.utils.OperationalError: index row requires 45344 bytes, maximum
size is 8191


Please how can I fix it?

Regards,
*AJAYI Sunday *
(+234) 806 771 5394
/sunnexaj...@gmail.co <mailto:sunnexaj...@gmail.com>m/
-- 
You received this message because you are subscribed to the Google Groups

"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com

<https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com?utm_medium=email_source=footer>.
-- 
You received this message because you are subscribed to the Google Groups

"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit

https://groups.google.com/d/msgid/django-users/d65d443e-6eeb-1daf-590b-1cc29445ba59%40antonischristofides.com

<https://groups.google.com/d/msgid/django-users/d65d443e-6eeb-1daf-590b-1cc29445ba59%40antonischristofides.com?utm_medium=email_source=footer>.

--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKYSAw0DabjecG3-dQdfURhPU-N_Fs4u2V6OManQY03sq%3D37rQ%40mail.gmail.com 
<https://groups.google.com/d/msgid/django-users/CAKYSAw0DabjecG3-dQdfURhPU-N_Fs4u2V6OManQY03sq%3D37rQ%40mail.gmail.com?utm_medium=email_source=footer>.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7b1efdec-47f6-8526-ffc9-36fc7df8befa%40antonischristofides.com.


Re: django.db.utils.OperationalError: index row requires 45344 bytes, maximum size is 8191

2022-04-02 Thread Sunday Ajayi
')

*But after I removed it, and did makemigration, then migrated, then I
started getting this error*


*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *



On Sat, Apr 2, 2022 at 6:49 AM Antonis Christofides <
anto...@antonischristofides.com> wrote:

> Hi,
>
> could you show the definition of your model?
>
> Antonis Christofides
> +30-6979924665 (mobile)
>
>
>
> On 02/04/2022 00.43, Sunday Ajayi wrote:
>
> Hi Team,
>
>
> Please I am having the error below from django - postgresql:
>
> django.db.utils.OperationalError: index row requires 45344 bytes, maximum
> size is 8191
>
>
> Please how can I fix it?
>
> Regards,
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.co m*
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d65d443e-6eeb-1daf-590b-1cc29445ba59%40antonischristofides.com
> <https://groups.google.com/d/msgid/django-users/d65d443e-6eeb-1daf-590b-1cc29445ba59%40antonischristofides.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKYSAw0DabjecG3-dQdfURhPU-N_Fs4u2V6OManQY03sq%3D37rQ%40mail.gmail.com.


Re: django.db.utils.OperationalError: index row requires 45344 bytes, maximum size is 8191

2022-04-01 Thread Antonis Christofides

Hi,

could you show the definition of your model?

Antonis Christofides
+30-6979924665 (mobile)



On 02/04/2022 00.43, Sunday Ajayi wrote:

Hi Team,


Please I am having the error below from django - postgresql:

django.db.utils.OperationalError: index row requires 45344 bytes, maximum size 
is 8191



Please how can I fix it?

Regards,
*AJAYI Sunday *
(+234) 806 771 5394
/sunnexaj...@gmail.co <mailto:sunnexaj...@gmail.com>m/
--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com 
<https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com?utm_medium=email_source=footer>.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d65d443e-6eeb-1daf-590b-1cc29445ba59%40antonischristofides.com.


django.db.utils.OperationalError: index row requires 45344 bytes, maximum size is 8191

2022-04-01 Thread Sunday Ajayi
Hi Team,


Please I am having the error below from django - postgresql:

django.db.utils.OperationalError: index row requires 45344 bytes, maximum
size is 8191


Please how can I fix it?

Regards,
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.co m*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAKYSAw2o5TD2katq07Np2zdKs1yDMd%3D_UCnp0Ly2vMpV7h1p-w%40mail.gmail.com.