Re: want to take input of datetimefield from my template

2020-07-13 Thread chander shekhar
I think here millisecond or microseconds are not coming ,in django-admin it is coming with microseconds On Mon, Jul 13, 2020, 11:57 PM Kasper Laudrup wrote: > Hi Chander, > > On 13/07/2020 20.07, chander shekhar wrote: > > #forms.py > > > > classeventform(forms.ModelForm): > > > > classMeta: > >

Re: want to take input of datetimefield from my template

2020-07-13 Thread Kasper Laudrup
Hi Chander, On 13/07/2020 20.07, chander shekhar wrote: #forms.py classeventform(forms.ModelForm): classMeta: model = Event fields = [, 'end_time',] widgets = { 'start_time':  forms.DateTimeInput(attrs={'type': 'datetime-local'}), Look at the format attribute

Re: want to take input of datetimefield from my template

2020-07-13 Thread chander shekhar
it's action not url , it's a dummy of my model Regards Chander Shekhar (bestcsp) On Mon, Jul 13, 2020 at 11:37 PM chander shekhar wrote: > #forms.py > > class eventform(forms.ModelForm): > > > > class Meta: > > model = Event > > fields = [, 'end_time',] > > widgets

Re: want to take input of datetimefield from my template

2020-07-13 Thread chander shekhar
#forms.py class eventform(forms.ModelForm): class Meta: model = Event fields = [, 'end_time',] widgets = { 'start_time': forms.DateTimeInput(attrs={'type': 'datetime-local'}), Models.py class Event(models.Model): title = models.CharField(max_length=

editable Grid

2020-07-13 Thread Heinz Mittelstrass
Hi, I develop Django with Visual Studio Code. I am searching for a tool like ad-grid. Do you have any advise? Thanks Heinz -- 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

Re: How to Cache a function in Django?

2020-07-13 Thread Kasper Laudrup
Hi Carlos, On 13/07/2020 17.58, carlos wrote: Hi, i need cache a function in Django example def function1(request):     some code ...     return dict i know cache_page(50 * 10) but this functions in not a page is only a function return a dictionary. What you most likely mean, is that yo

How to Cache a function in Django?

2020-07-13 Thread carlos
Hi, i need cache a function in Django example def function1(request): some code ... return dict i know cache_page(50 * 10) but this functions in not a page is only a function return a dictionary. Cheers -- You received this message because you are subscribed to the Google Groups "Djan

Re: want to take input of datetimefield from my template

2020-07-13 Thread coolguy
Please share your model, view and template for more clarity. Thanks On Sunday, July 12, 2020 at 9:25:16 AM UTC-4, Chander shekhar wrote: > > > On Sun, Jul 12, 2020, 6:37 PM Kasper Laudrup > wrote: > >> On July 12, 2020 3:02:00 PM GMT+02:00, Chander shekhar > > wrote: >> >starttime=datetimefield()

Re: Django support

2020-07-13 Thread lakshmi priya
Can we connect on cal for discussion On Mon, 13 Jul 2020 at 5:45 PM, RaviKiran Kk wrote: > > > On Mon, Jul 13, 2020 at 5:40 PM lakshmi priya < > priyaviswanadh2...@gmail.com> wrote: > >> I’m in need of a tutor who is more than 4 years experienced in Django and >> who can help me with real time

Re: Django support

2020-07-13 Thread RaviKiran Kk
On Mon, Jul 13, 2020 at 5:40 PM lakshmi priya wrote: > I’m in need of a tutor who is more than 4 years experienced in Django and > who can help me with real time projects with Django framework > > -- > You received this message because you are subscribed to the Google Groups > "Django users" grou

Django support

2020-07-13 Thread lakshmi priya
I’m in need of a tutor who is more than 4 years experienced in Django and who can help me with real time projects with Django framework -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Django deployment on linux rhel 7

2020-07-13 Thread Ajish Gopinath
Try changing version of Bootstrap..4.0.0 On Sun 12 Jul, 2020, 8:33 PM Kasper Laudrup, wrote: > On July 12, 2020 4:41:31 PM GMT+02:00, Ashish General < > kumarashish2...@gmail.com> wrote: > >Hi Kasper, > > > >Thanks that link is good for reference but I just try to run run server > >with below co

join query to get the maximum value in django orm

2020-07-13 Thread Rajshree Some
Table1 id namecomment 1 Item1 Bad 2 Item2 Good Table2 Id table1_id marks 1. 1 23 2. 1 54 3. 2 66 4. 2

how to retrieve maximum value in many to many field

2020-07-13 Thread Rajshree Some
Table1 id 1 Item1 Good 2 Item2 bad Table2 Id table1_id marks 1. 1 23 2. 1 54 3. 2 66 4. 2 55 -- You received this message because you are subscribed to