DateTimeShortcut.js in admin, date picker not triggering 'change'..

2016-10-19 Thread hagan
Hi, I'm not sure if this is the correct approach or not.. But i'm finding the trigger event in the DateTimeShortcut.js is not triggering changes when you click on a date. I've done something similar to the following: *admin.py* class CustomAdmin(admin.ModelAdmin): ... class Media:

Re: date picker

2016-01-18 Thread Michal Petrucha
On Tue, Jan 19, 2016 at 09:56:49AM +1100, sum abiut wrote: > Hi Michal, > > > here is my template.html, i believe it has all the required java script, > Yes the origin template was copy past from this template. Hi Sum, I asked for the rendered output HTML, not the original template. But mostly

Re: date picker

2016-01-18 Thread sum abiut
Hi Michal, here is my template.html, i believe it has all the required java script, Yes the origin template was copy past from this template. RBV Registry dasboard https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.m

Re: date picker

2016-01-18 Thread Michal Petrucha
On Tue, Jan 19, 2016 at 08:57:38AM +1100, sum abiut wrote: > Thank heaps for your help. I have made the changes, still datepicker is not > showing on the datefields. > > Cheers That's unfortunate – could you perhaps post the HTML output? Does it contain the required JavaScript? That template you

Re: date picker

2016-01-18 Thread sum abiut
o have the date picker widget on both DateFields. The date > > picker does not appear on both datefields. i have made changes, but still > > date picker is not showing > > widgets = { > > 'Value_date': forms.DateInput(attrs={'class': 'd

Re: date picker

2016-01-18 Thread Michal Petrucha
On Tue, Jan 19, 2016 at 08:28:00AM +1100, sum abiut wrote: > Yes i want to have the date picker widget on both DateFields. The date > picker does not appear on both datefields. i have made changes, but still > date picker is not showing > widgets = { > 'Value_da

Re: date picker

2016-01-18 Thread sum abiut
Yes i want to have the date picker widget on both DateFields. The date picker does not appear on both datefields. i have made changes, but still date picker is not showing widgets = { 'Value_date': forms.DateInput(attrs={'class': 'datepicker'}),

Re: date picker

2016-01-18 Thread 'Tom Evans' via Django users
On Mon, Jan 18, 2016 at 1:03 AM, sum abiut wrote: > Hi, > i am having some trouble with my date picker. I probably missing someting, > the form fields are displaying fine, but some how the datepicker is no > displaying. probably something to do with my jquery. Please help >

Re: date picker

2016-01-18 Thread Michal Petrucha
On Mon, Jan 18, 2016 at 12:03:00PM +1100, sum abiut wrote: > Hi, > i am having some trouble with my date picker. I probably missing someting, > the form fields are displaying fine, but some how the datepicker is no > displaying. probably something to do with my jquery. Please hel

date picker

2016-01-17 Thread sum abiut
Hi, i am having some trouble with my date picker. I probably missing someting, the form fields are displaying fine, but some how the datepicker is no displaying. probably something to do with my jquery. Please help models.py class foreginexchange(models.Model): Sold_deal_number

instructions to make DATE PICKER work in django

2015-12-07 Thread Sid
Hi all, > > *Problem:* > I have a data set which shows on web page using django and another webpage > consists of datepicker > > > > *code:(views.py)* > def about(request): > #change the f

date picker

2015-12-06 Thread Sid
Hi all, *Problem:* I have a data set which shows on web page using django and another webpage consists of datepicker *code:(views.py)* def about(request): #change the file name here every

Re: how to use jquery for date picker

2011-05-04 Thread Kenneth Gonsalves
On Wed, 2011-05-04 at 16:46 +0530, vikalp sahni wrote: > are you planing to use that in place of django current date time > picker > widget?? if you had been following the thread, he wants to implement this outside admin. -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilug

Re: how to use jquery for date picker

2011-05-04 Thread vikalp sahni
are you planing to use that in place of django current date time picker widget?? Which means are you looking to change the behaviour of Django Form, DateTimeField to use Jquery?? I would suggest not to change default datepickerwidget, as it works like a charm in admin forms. You should though try

Re: how to use jquery for date picker

2011-05-04 Thread GKR
sorry for that but I am going to use that for django thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr

Re: how to use jquery for date picker

2011-05-04 Thread vikalp sahni
http://jqueryui.com/demos/datepicker/ Furthermore i think, this is not the right list for Jquery related queries. Regards, //Vikalp On Wed, May 4, 2011 at 4:15 PM, GKR wrote: > how to use jquery for date picker > > please help > > -- > You received this message because you

how to use jquery for date picker

2011-05-04 Thread GKR
how to use jquery for date picker please help -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-user

Re: Django admin not showing date picker, etc.

2008-08-20 Thread efcjoe
I upgraded Django to 1.0-beta1 and it all seems to be working now. On Aug 16, 12:33 pm, efcjoe <[EMAIL PROTECTED]> wrote: > Hi > I'm having problems with djangoadmin. Trying to follow tutorial 2 > from the website. The icons next to date fields and the (Show) link on > collapsed fieldsets arenots

Re: Newforms: adding a date picker

2007-04-16 Thread Ray Cote
admin/django/contrib/admin/widgets.py >> > >> >On >> > >> >2007-04-14 11:32:53 -0600, Ray Cote >><[EMAIL PROTECTED]> said: >> > >> >> >> >> >> >> Hello: >> >> >> >> I&#

Re: Newforms: adding a date picker

2007-04-15 Thread Honza Král
/django/contrib/admin/widgets.py > > > >On > > > >2007-04-14 11:32:53 -0600, Ray Cote <[EMAIL PROTECTED]> said: > > > >> > >> > >> Hello: > >> > >> I'm trying to figure out the approved Django way to add a Javascript >

Re: Newforms: adding a date picker

2007-04-15 Thread Ray Cote
admin/django/contrib/admin/widgets.py > >On > >2007-04-14 11:32:53 -0600, Ray Cote <[EMAIL PROTECTED]> said: > >> >> >> Hello: >> >> I'm trying to figure out the approved Django way to add a Javascript >> date picker (pop-up calendar) to a f

Re: Newforms: adding a date picker

2007-04-14 Thread Brian Rosner
TED]> said: > > > Hello: > > I'm trying to figure out the approved Django way to add a Javascript > date picker (pop-up calendar) to a field while using newforms. > > One way I see people adding date pickers is to give the field a > specific class which the Jav

Newforms: adding a date picker

2007-04-14 Thread Ray Cote
Hello: I'm trying to figure out the approved Django way to add a Javascript date picker (pop-up calendar) to a field while using newforms. One way I see people adding date pickers is to give the field a specific class which the Javascript then attaches to during onload of the page. Ho

date picker widget in my custom views

2007-02-11 Thread Picio
Hello, I'm using 0.95 and I'd like to use the django admin date picker (calendar.js) in my custom view. I saw that I have to use DateTimeShortcuts.js and calendar.js but I'm not a JavaScript expert. I can't figure out how to implement the widget in the page. Which are the right and only