Changes between Version 3 and Version 4 of CustomFormFields


Ignore:
Timestamp:
Feb 20, 2006, 11:51:52 AM (19 years ago)
Author:
fonso
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CustomFormFields

    v3 v4  
    3939
    40402006-02-20-16:20-ish
    41 Looks like do_html2python is our friend here.  In line with the [wiki:http://code.djangoproject.com/wiki/NewAdminChanges new admin documentation] we need to make sure that do_html2python is called regardless of whether there are any errors.  In doing so we can get our list of IDs in a 'neat' manner.  The only problem?  What if we've got validation errors? Trying to convert the data fails when there are errors.  Which means we can't convert.  Which means that render doesn't get its nice list of IDs anymore.  Stumped.
     41Looks like do_html2python is our friend here.  In line with the [wiki:NewAdminChanges new admin documentation] we need to make sure that do_html2python is called regardless of whether there are any errors.  In doing so we can get our list of IDs in a 'neat' manner.  The only problem?  What if we've got validation errors? Trying to convert the data fails when there are errors.  Which means we can't convert.  Which means that render doesn't get its nice list of IDs anymore.  Stumped.
Back to Top