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

2023-05-24 Thread Helly Modi
oad your 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 field

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 table

Re: dynamic django tables

2023-05-22 Thread Helly Modi
7;: table_name, 'data': list(table_data)}) On Monday, May 22, 2023 at 11:37:52 AM UTC+5:30 Sebastian Jung wrote: Hello, I take everytime a EAV implementation for this task. Hete a manual: https://django-eav2.readthedocs.io/en/latest/ I hope this helps you Helly Modi schrieb am Fr., 19

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
uccessfully!') On Fri, May 19, 2023 at 6:40 PM Brian Gitau wrote: > which code do you have or you 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? >>

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 stru

Re: Django tutorial part 3: Always shows raw HTML

2012-09-17 Thread Helly
, I would still appreciate your insight, but it appears that I have fixed the main issue for now. On Monday, September 17, 2012 3:02:20 PM UTC-4, Helly wrote: > > I'm currently going through the Django tutorial, and everything was going > perfectly smoothly until the template part

Django tutorial part 3: Always shows raw HTML

2012-09-17 Thread Helly
I'm currently going through the Django tutorial, and everything was going perfectly smoothly until the template part. This is what I always get for the polls/index.html: http://pastebin.com/ng9iGNRp I noticed that it gets everything right (the {{ poll.id }} is 1, there's no other error) but ju

Re: Newbie, trying [read: failing] to set up Django

2012-09-16 Thread Helly
wow I'm really glad I embarrassed myself on the whole internet. Thanks for answering with zero condescension. I am going to try to install this today. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web vis

Newbie, trying [read: failing] to set up Django

2012-09-15 Thread Helly
Hello all, I've been trying to set up Django for quite some time now. I'm on Mac OS X Lion 10.7.4. As to my level of expertise, let's just say I'm pretty new to...computers. I guess I figured I'd just stumble around until it worked. How hard could it be right? Wrong. It seems like you all don't