durusmail: quixote-users: form2 Form.has_key
form2 Form.has_key
form2 Form.has_key
Roger E. Masse
2004-01-04
Christoph Devenoges writes:
 >
 > ++ Roger E. Masse wrote on Sun, Jan 04, 2004 at 01:08:52PM -0500 :

 > > Another alternative is to use get:
 > >
 > >         bookings = form.get('apartment') or []
 >
 > which gives:
 >
 > AttributeError: Form instance has no attribute 'get'
 >

Opps, that'l teach me to respond without testing :-/

I guess we need to do a bit more with the form2 stuff...
Thanks for using it and providing the feedback.

Regards,

    Roger E. Masse - Software Engineer 
    MEMS Exchange - Corporation for National Research Initiatives
    1895 Preston White Drive Suite 100, Reston Virginia USA 20191




reply