~/talk

Solving Problems With Django Forms

Talkat DjangoCon US 2016 · 2016-07-17..07-22· [django]
slides:none on file

Describes concrete solutions: treat form fields as data and convert a field definition to a dictionary so an API can return a list of field names that get instantiated into self.fields at runtime; integrates third‑party validation by calling an API, mapping errors to fields and form.add_error integrates external errors so is_valid still works; supports user‑added fields via JavaScript with properly named inputs; warns crispyforms does not scale and reports success moving rendering to React + Redux with Django forms kept on the backend.

AI-written summary · about

  1. 0:00Start
  2. 1:10What are Django Forms?
  3. 2:48Dynamic Form Structure
  4. 6:50Rendering Dynamic Layouts
  5. 7:58Dynamic Form Validation
  6. 9:58User-Driven Fields
  7. 10:50Dynamic Fields
  8. 13:07Integration with ReactJS/Redux
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.