Re: custom form with admin look and feel

2008-07-05 Thread chefsmart
@Ayaz: I tried what you suggested, but the alignment of fields etc goes off for me. Is it possible for you to post an example django template, maybe on dpaste.com. Also I don't quite understand where all the javascript in the change_form is coming from.. On Jun 30, 8:29 pm, Ayaz Ahmed Khan <[EM

Re: custom form with admin look and feel

2008-06-30 Thread Ayaz Ahmed Khan
chefsmart wrote: > I'm using django svn trunk. I have created several custom forms that > show up in the admin section of the website. However, these forms look > nothing like the admin forms. I tried extending change_form.html > template - unsuccessfully. > > Does anyone know what my template sho

Re: custom form with admin look and feel

2008-06-30 Thread chefsmart
I tried this, but couldn't get the desired results. Specifically, I want to have the look and feel of the change_form (including add another, save buttons etc and how the fields are arranged on the page). I have noticed that the change_form has some specific css and javascript. Is this documented

Re: custom form with admin look and feel

2008-06-24 Thread José Moreira
i'm a neb but i think you should check the part about admin css development in the docs 2008/6/24 chefsmart <[EMAIL PROTECTED]>: > > Thanks, I have tried that. But I guess my question really revolves > around the design and css issues. I'm really bad at design aspects, > and would like all my cus

Re: custom form with admin look and feel

2008-06-23 Thread chefsmart
Thanks, I have tried that. But I guess my question really revolves around the design and css issues. I'm really bad at design aspects, and would like all my custom forms to have the look and feel of Django's automatic admin change_forms (I have gone through the admin css guide, but couldn't get it

Re: custom form with admin look and feel

2008-06-23 Thread Norman Harman
chefsmart wrote: > I'm using django svn trunk. I have created several custom forms that > show up in the admin section of the website. However, these forms look > nothing like the admin forms. I tried extending change_form.html > template - unsuccessfully. > > Does anyone know what my template sh

custom form with admin look and feel

2008-06-22 Thread chefsmart
I'm using django svn trunk. I have created several custom forms that show up in the admin section of the website. However, these forms look nothing like the admin forms. I tried extending change_form.html template - unsuccessfully. Does anyone know what my template should contain to achieve admin