Ticket #10568: custom-model-fields.diff

File custom-model-fields.diff, 597 bytes (added by rduffield, 6 years ago)
  • docs/howto/custom-model-fields.txt

     
    522522            defaults.update(kwargs)
    523523            return super(HandField, self).formfield(**defaults)
    524524
    525 This assumes we're imported a ``MyFormField`` field class (which has its own
     525This assumes we've imported a ``MyFormField`` field class (which has its own
    526526default widget). This document doesn't cover the details of writing custom form
    527527fields.
    528528
Back to Top