> So If I create a newforms field then how do I tell the admin to use > that when building the form in the admin?
You will need to use the newforms-admin branch to get the admin to use a newforms field ;) Btw: If you just want the regex functionality you can use the RegexField of newforms like so: def formfield(self, **kwargs): defaults = {'regex':r"^[A-Za-z][1-9][1-7][0-9]$"} defaults.update(kwargs) return super(models.CharField, self).formfield(form_class=forms.RegexField, **defaults) Cheers, Jonas --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---