~hruske Hruške, jabuke, jablane, čežane. » Blog Archive » Django newforms
Home Contact Sitemap

Hruške, jabuke, jablane, čežane.

Ste se gdaj vprašali, zakaj Najboljšega soseda nikoli ni doma, ko pridete na obisk?

Django newforms

Posted on September 3rd, 2007 in django, python |

Some time ago, when me and Jure were hacking Prevoz a bit, there was a question of handling a complex form. One could split a form into smaller subforms and validate each separately, use a SuperForm or override a lengthy method, that spits out HTML.

We eventually figured that subclassing did just the thing we needed and did the “happy-djangoinan-dance”. ;)

Comments are closed.

Komentarji so izklopljeni