On 6/27/07, leif strickland <[EMAIL PROTECTED]> wrote:
> After some digging around, it looks like the newforms-admin branch
> does not allow widget declarations within the model class itself.
Yeah. As you've discovered, one of the big points of newforms-admin is
to get as much stuff as possible o
After some digging around, it looks like the newforms-admin branch
does not allow widget declarations within the model class itself.
However, adding a custom widget is quite easy.
In the branch, almost all of the admin app functionality has been
moved out of the inner Admin class and into a separ
On 6/27/07, leif <[EMAIL PROTECTED]> wrote:
> Does anyone have information on this topic? I have a feeling I'm not
> the only one who's wondering this. Thanks!
Your best bet is probably to read the source right now; when the
branch is complete there will undoubtedly be documentation showing the
s
Does anyone have information on this topic? I have a feeling I'm not
the only one who's wondering this. Thanks!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
By the way, I did find the hook in django/branches/newforms-admin/
django/contrib/admin/options.py for specifying the form field for a
given database field. But that's different than allowing a developer
to specify the widget for a given field in the model itself.
--~--~-~--~~--
One of the stated goals of the newforms-admin branch (
http://code.djangoproject.com/wiki/NewformsAdminBranch ) is to allow
developers to specify custom widgets for particular fields in a model.
I have not been able to find documentation regarding this new feature.
Has it been implemented yet?
Th
6 matches
Mail list logo