Re: Newbie to Novice – Using Admin DateTime Picker in your Form

2016-09-19 Thread Mayank Rungta
I am looking at making custom forms look like Django admin forms with the widgets in place. Also, I like to do a similar thing for displaying tables. I used a combination of plugins for sorting, filters and displaying tables with pagination. The result was not as good. What I am hoping is to find a

Re: Newbie to Novice – Using Admin DateTime Picker in your Form

2016-09-19 Thread Nate Granatir
Just realized this thread was not necessarily about filters for the admin; in the case of using custom forms/views Django daterange filter may not be a good option. On Thursday, March 19, 2009 at 8:37:56 AM UTC-5, Paul Nema wrote: > > I've noticed many people new to Django (and sometimes also ne

Re: Newbie to Novice – Using Admin DateTime Picker in your Form

2016-09-19 Thread Nate Granatir
I just installed Django Daterange Filter 1.3.0 (https://github.com/DXist/django-daterange-filter) on a Django 1.9 project. Took a little CSS fiddling to get it to display properly with Grappelli, but other than that it worked like a charm. Nate On Thursday, March 19, 2009 at 8:37:56 AM UTC-5,

Re: Newbie to Novice – Using Admin DateTime Picker in your Form

2016-09-18 Thread Mayank Rungta
Most of the posts I see around this topic are dated. I was wondering if this works for Django 1.8 upwards. Kindly let know if anybody has tried/tested any of these approaches on a more recent version of Django. I would like to stick to this approach rather than figure a plugin/javascript for ev

Newbie to Novice – Using Admin DateTime Picker in your Form

2009-03-19 Thread Paul Nema
I've noticed many people new to Django (and sometimes also new to Python) often post the same/similar questions in various forums. How to I get something to work and/or do you have an example for X. As I've also experienced this problem I've decided to post my little solution. Its not the only way

Admin datetime picker

2009-03-18 Thread jeffhg58
>From converting over to Django 1.1 from 0.97, I had the admin datetime widget displayed on my search screen. With the latest version of django, it seems that the datetime widget only displays if the user is an administrator. I have narrowed down the problem that the javascript catalog is only ac

Re: DateTime Picker

2007-11-05 Thread Alex Ezell
Yeah, if I don't get the built-in to work, I'll go with a jQuery plugin that basically does the same thing. It'd be nice to get the built-in to work. Less maintenance on my end. :) /alex On 11/5/07, rm <[EMAIL PROTECTED]> wrote: > > Sounds good. In the mean time, I found this very cool alternat

Re: DateTime Picker

2007-11-05 Thread rm
Sounds good. In the mean time, I found this very cool alternative: http://www.dynarch.com/projects/calendar/ It worked great! On Nov 5, 3:04 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote: > On 11/5/07, rm <[EMAIL PROTECTED]> wrote: > > > > > Has anyone gotten this to work with a datetime field an

Re: DateTime Picker

2007-11-05 Thread Alex Ezell
On 11/5/07, rm <[EMAIL PROTECTED]> wrote: > > Has anyone gotten this to work with a datetime field and a newform of > the type form_from_model? I will be trying it tonight, so I will let you know. /alex --~--~-~--~~~---~--~~ You received this message because you

Re: DateTime Picker

2007-11-05 Thread rm
Has anyone gotten this to work with a datetime field and a newform of the type form_from_model? On Nov 5, 11:07 am, "Alex Ezell" <[EMAIL PROTECTED]> wrote: > Thanks Michael. > > This looks like exactly what I need. I apologize for not searching the > list first. I searched the web but that thread

Re: DateTime Picker

2007-11-05 Thread Alex Ezell
Thanks Michael. This looks like exactly what I need. I apologize for not searching the list first. I searched the web but that thread didn't show up. Thanks again. /alex On 11/5/07, Michael <[EMAIL PROTECTED]> wrote: > > Check out: > http://groups.google.com/group/django-users/browse_frm/threa

Re: DateTime Picker

2007-11-05 Thread Michael
Check out: http://groups.google.com/group/django-users/browse_frm/thread/3328829f1ed7f788/ If that doesn't help you, search this group for other posts on the subject. Michael On Nov 3, 2:04 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote: > When I use a DateTime field in my model, the admin automati

DateTime Picker

2007-11-03 Thread Alex Ezell
When I use a DateTime field in my model, the admin automatically creates a little javascript date picker. How do I get the same date picker in my user forms? I am using the form_from_model method with newforms. Thanks! /alex --~--~-~--~~~---~--~~ You received th