where is the code for the date widget in admin

2007-02-23 Thread Kenneth Gonsalves
hi, i was looking for the code for the date widget in admin, been searching for two days and cannot find it. Could some kind soul point me to it? -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~ You received

Re: where is the code for the date widget in admin

2007-02-23 Thread oggie rob
You need to include django/contrib/admin/media/js/calendar.js & admin/ DateTimeShortcut.js, and put 'class="vDateField"' or "vTimeField" for each widget. The html is dynamically generated by javascript when you load the page (based on class name), which is why you can't find the js code from the H

Re: where is the code for the date widget in admin

2007-02-23 Thread Kenneth Gonsalves
On 24-Feb-07, at 12:22 PM, oggie rob wrote: > You need to include django/contrib/admin/media/js/calendar.js & admin/ > DateTimeShortcut.js, and put 'class="vDateField"' or "vTimeField" for > each widget. The html is dynamically generated by javascript when you > load the page (based on class nam

Re: where is the code for the date widget in admin

2007-02-24 Thread Malcolm Tredinnick
On Sat, 2007-02-24 at 13:13 +0530, Kenneth Gonsalves wrote: > > On 24-Feb-07, at 12:22 PM, oggie rob wrote: > > > You need to include django/contrib/admin/media/js/calendar.js & admin/ > > DateTimeShortcut.js, and put 'class="vDateField"' or "vTimeField" for > > each widget. The html is dynamica

Re: where is the code for the date widget in admin

2007-02-27 Thread Aidas Bendoraitis
Kenneth, you should use proper tools for development in order not to face such problems: a) you need a text editor with the full-text search capability to search for specific text in all files of a directory (You can try jEdit for that). b) you need developers' tools for your web browser like Fire