On Mon, May 11, 2009 at 6:28 PM, Margie <margierogin...@yahoo.com> wrote: > The answer is definitely yes. However, some perserverance is required > to figure it out. I recently found Jannis Leidel's web page (I > believe he is one of the django developers, but not sure about that) > and it provides some really excellent examples of how to create new > widgets which override the default behavior of the admin pages.
The Django documentation mentions the "form" option to ModelAdmin, which does pretty much exactly what you'd think -- it lets you plug in a custom form class with whatever validation you like. There's also an example of using it: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-custom-validation-to-the-admin (for the perseverant, there's also an as-yet-undocumented method you can override to customize the form on a per-request basis) -- "Bureaucrat Conrad, you are technically correct -- the best kind of correct." --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---