UNIQUE constraint failed: matrixapp_bookplot.user_id

2022-02-05 Thread Armaan Alam
Hello everyone, when i am trying to add uuid primary key , I am getting this error UNIQUE constraint failed: matrixapp_bookplot.user_id what is wrong here class BookPlot(models.Model): ref_id = models.CharField(max_length=25) code = str(uuid.uuid4()).replace("-", "")[:

Re: migrations: "no changes detected"

2022-02-07 Thread Armaan Alam
delete database and migration then again run makemigrations and migrate On Tue, 8 Feb 2022 at 11:05, RANGA BHARATH JINKA wrote: > Hi, > > I think you forgot to add the app name in settings file. Please add the > app names in installed apps. Then it will find out the models. > > All the best > >

Re: UNIQUE constraint failed: matrixapp_bookplot.user_id

2022-02-28 Thread Armaan Alam
thanks all of you for replying me On Sun, 6 Feb 2022 at 22:18, Sebastian Jung wrote: > Hello, > > Because your implementation is wrong. > > Please read this > https://tech.serhatteker.com/post/2020-01/uuid-primary-key/ > > Jason schrieb am So., 6. Feb. 2022, 00:27: > >> A bit of a hint about yo

Re: group

2022-09-27 Thread Armaan Alam
Add me +919973884727 On Wed, 28 Sep, 2022, 10:29 am Julio Cojom, wrote: > This shit again, STOP IT. > > El mar, 27 sept 2022 a las 9:29, Alfredo Yong () > escribió: > >> Please, me too... >> >> +51995070400 >> >> On Tue, Sep 27, 2022 at 9:43 AM Giovanni Silva wrote: >> >>> Please, add me too… >

user wise conversation

2023-11-21 Thread Armaan Alam
how to chat with two user without using any room code with django channels -- 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.

counting issue i use mongodb why show always 0

2024-02-19 Thread Armaan Alam
queryset = Notification.objects.filter(is_seen__in=[False]).count() -- 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