Changes between Version 14 and Version 15 of NewformsHOWTO


Ignore:
Timestamp:
02/19/2008 07:49:17 AM (7 years ago)
Author:
anonymous
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NewformsHOWTO

    v14 v15  
    465465If you want custom validation for a field in the admin '''and''' newforms [http://www.djangoproject.com/documentation/modelforms/ ModelForm] instances you can subclass a field in your model and override ```formfield()```. You can then return the form field you like or a complete [http://www.djangoproject.com/documentation/newforms/#creating-custom-fields custom form field].
    466466
    467 Here we add regex validation to a field (see #6556 for the workaround):
     467Here we add regex validation to a field (see #6556 for the workaround till the fix is merged to newforms-admin):
    468468
    469469{{{
Back to Top