On Sun, Jun 1, 2008 at 9:00 AM, Giacomo Lacava <[EMAIL PROTECTED]> wrote:
>
> On 5/31/08, Stuart Grimshaw <[EMAIL PROTECTED]> wrote:
>
>> doh! yeah, Django.
>
> do you really need to display it? with editable=false, the field will
> not appear at all.

Yes, it's a persons name, then I want to display a dropdown next to that.

> otherwise, i guess you can create a custom widget: "If the built-in
> Field classes don't meet your needs, you can easily create custom
> Field classes. To do this, just create a subclass of
> django.newforms.Field. Its only requirements are that it implement a
> clean() method and that its __init__() method accept the core
> arguments mentioned above (required, label, initial, widget,
> help_text)."

I'll have alook at this.

-- 
-S

Follow me on Twitter: http://twitter.com/stubbs
Blog: http://stubblog.wordpress.com
My art: http://stuartgrimshaw.imagekind.com
Stock Images: http://psc.photoshelter.com/user/stuartgrimshaw

--~--~---------~--~----~------------~-------~--~----~
To post: [email protected]
To unsubscribe: [EMAIL PROTECTED]
Feeds available at http://groups.google.com/group/python-north-west/feeds
For more options: http://groups.google.com/group/python-north-west
-~----------~----~----~----~------~----~------~--~---

Reply via email to