I have a react function that calculates the ETD and i have same function in django but it is giving me a different value

2023-08-14 Thread Helly Modi
ETDtime( props.equipment.performed, props.equipment.standard_seconds, props.equipment.paused_seconds ) calulate ETD = start time + standard seconds +total puash export function ETDtime(date, standard_seconds, pause_seconds) { if (date) { let getdate = new Date(date); let get_standard_seconds =

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',

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: Dynamic Table

2023-05-24 Thread Helly Modi
our runtime to apply > new codebase to de-encode data. So go back and find another solution. > > On Wed, 24 May 2023 at 12:22 Helly Modi wrote: > >> I have to create dynamic table at runtime where user enters the details >> of table name,table column,table fields,

Dynamic Table

2023-05-23 Thread Helly Modi
I have to create dynamic table at runtime where user enters the details of table name,table column,table fields,constraints.take this input in backend and create table dynamically without creating schemas of tables as tables are created at runtime .first approach is that we will create one

Re: dynamic django tables

2023-05-22 Thread Helly Modi
latest/ I hope this helps you Helly Modi schrieb am Fr., 19. Mai 2023, 14:59: How to create dynamic models in django rest framework? Is there any chance to create dynamic models with APIs Any examples please send me thanks in advance.. 1) Requirement is need create table name and fields i

Re: dynamic django tables

2023-05-21 Thread Helly Modi
This is my code and it worked in creating tables but here django provides 26 fields and many relation how can i include all ? If else become too complex .Is there any other way to do this On Mon, May 22, 2023 at 10:49 AM Helly Modi wrote: > class CreateTableAPIView(APIView): > def pos

Re: dynamic django tables

2023-05-21 Thread Helly Modi
want the code example explaining everything? > > > On Fri, May 19, 2023 at 3:59 PM Helly Modi wrote: > >> How to create dynamic models in django rest framework? >> >> Is there any chance to create dynamic models with APIs >> >> >> >> Any exa

dynamic django tables

2023-05-19 Thread Helly Modi
How to create dynamic models in django rest framework? Is there any chance to create dynamic models with APIs Any examples please send me thanks in advance.. 1) Requirement is need create table name and fields in frontend 2) we are getting the data and store in to the db create db