Re: group by "project"

2023-05-24 Thread 'Mohamed Yahiya Shajahan' via Django users
[ { "project": 1, "date": "2023-05-22", "count": 1 }, { "project": 1, "date": "2023-05-27", "count": 1 } ] throws this response. i want group by project def list(self, request, *args, **kwargs): project_id = self.reques

Re: group by "project"

2023-05-24 Thread Helly Modi
TRY THIS from django.db.models import Count def list(self, request, *args, **kwargs): project_id = self.request.query_params.get('project_id') if project_id: queryset = RegistrationDatesSlots.objects.values('project', 'date').annotate(count=Count('project')).filter(project=project

Re: chatbot project

2023-05-24 Thread Helly Modi
There is a playlist in django where you will learn to create chatbot.Here is the linkhttps://youtu.be/0QdvjF83x7A.check this.It will be great help to you. On Thursday, May 25, 2023 at 6:51:21 AM UTC+5:30 Anish Kumar wrote: > can some one help me with source code i am a final year student and i

Re: Tokenized Authentication for subdomains

2023-05-24 Thread Vishesh Mangla
use nginx as reverse proxy On Thu, 25 May, 2023, 07:35 André Lewis, wrote: > Hi, > > I'm currently working on a project with subdomains, and I wanted to > authenticate the user across the site, regardless of the url. I did some > digging and found some ideas for implementing Oauth/openID connect

Tokenized Authentication for subdomains

2023-05-24 Thread André Lewis
Hi, I'm currently working on a project with subdomains, and I wanted to authenticate the user across the site, regardless of the url. I did some digging and found some ideas for implementing Oauth/openID connect authentication in Django (wasn't much help). Seeing, I don't intend on using third-par

Re: importing ultralytics in Django rest framework

2023-05-24 Thread Muhammad Juwaini Abdul Rahman
Google search on the error message returned this: https://stackoverflow.com/questions/48428415/importerror-libcublas-so-9-0-cannot-open-shared-object-file On Thu, 25 May 2023 at 09:20, Mahmoud Aboelsoud < mahmoudabooelso...@gmail.com> wrote: > Hello, how are you? > > I'm trying to import and use

Re: group by "project"

2023-05-24 Thread Muhammad Juwaini Abdul Rahman
Do you realize what 'Count' do? On Thu, 25 May 2023 at 09:20, 'Mohamed Yahiya Shajahan' via Django users < django-users@googlegroups.com> wrote: > def list(self, request, *args, **kwargs): > project_id = self.request.query_params.get('project_id') > if project_id: >

chatbot project

2023-05-24 Thread Anish Kumar
can some one help me with source code i am a final year student and i resgistered my name for python django chatbot project but i am a fresher so i am have some problem in django chatbot project -- You received this message because you are subscribed to the Google Groups "Django users" group.

group by "project"

2023-05-24 Thread 'Mohamed Yahiya Shajahan' via Django users
def list(self, request, *args, **kwargs): project_id = self.request.query_params.get('project_id') if project_id: queryset = RegistrationDatesSlots.objects.values('date'). annotate(project=Count('project')).filter(project=project_id) # queryset = Regist

RE: Please help me solving this error

2023-05-24 Thread prdpchowdhary
My code is import re iine = “My name is Bahtta. I want to learn”print(re.findall('[aeiou]+', line))And is it is running okSent from Mail for Windows From: Ramesh BhattaSent: Wednesday, May 24, 2023 6:41 AMTo: django-users@googlegroups.comSubject: Please help me solving this error Traceback (most re

Re: Unable to write to database

2023-05-24 Thread Jun Say
May i have a question related to Django? On Tuesday, May 23, 2023 at 5:14:57 AM UTC-7 William Nash (Bill) wrote: > > The system permission solved the issues. Thank you. > > On Monday, May 22, 2023 at 10:51:13 AM UTC-5 Dev Femi Badmus wrote: > >> I have similar error is due to system permission

importing ultralytics in Django rest framework

2023-05-24 Thread Mahmoud Aboelsoud
Hello, how are you? I'm trying to import and use ultralytics library in my Django rest framework app and I receive this error *ValueError: libcublas.so.*[0-9] not found in the system path *does anybody know how to solve this error? -- You received this message because you are subscribed to the

Re: Dynamic Table

2023-05-24 Thread Jason
I hope you can understand the security implications of this and are knowledgeable on the places where you need to lock down access. On Wednesday, May 24, 2023 at 6:47:14 AM UTC-4 Helly Modi wrote: > we have to create this project where user can enter all details of table > from frontend and ta

Re: Dynamic Table

2023-05-24 Thread Anh Nguyen
So what is your problems and why do we need a dynamic table? On Wed, 24 May 2023 at 14:34 Helly Modi wrote: > worked on this option only .even tried dynamic django models but didn't > work because of sustainable.if someone have the options or way to handle > then please give > > > On Wednesday,

Re: Dynamic Table

2023-05-24 Thread Helly Modi
worked on this option only .even tried dynamic django models but didn't work because of sustainable.if someone have the options or way to handle then please give On Wednesday, May 24, 2023 at 11:06:23 AM UTC+5:30 Anh Nguyen wrote: > Even your migrate works fine but you have to reload your runt