Re: chatbot project

2023-05-25 Thread SHUBHAM KUMAR
ok which type of chat bot do you want to create ..? On Thu, 25 May, 2023, 6:51 am Anish Kumar, wrote: > 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

Re: Dynamic Table

2023-05-25 Thread Anh Nguyen
Understood. Your backend will control db. So assuming look like php-myadmin. Quite hard when orm in django doesn’t support it. You have to deal with raw sql. On Wed, 24 May 2023 at 18:45 Jason wrote: > I hope you can understand the security implications of this and are > knowledgeable on the

Re: group by "project"

2023-05-25 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 =

Re: group by "project"

2023-05-25 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',