durusmail: quixote-users: Upgrading to Quixote 2.0a5
RELEASED: Quixote 2.0a5, Dulcinea 0.6, Toboso 0.6, Durus 1.5
2005-03-07
Upgrading to Quixote 2.0a5
2005-03-15
2005-03-15
Upgrading to Quixote 2.0a5
mso@oz.net
2005-03-15
I finally upgraded my applications to Quixote 2.0a5.  I found a few things
that look like they got left out of the CHANGES:

** quixote.publisher:  SessionPublisher class was merged into Publisher.
(This caused an ImportError for SessionPublisher.)

** quixote.publisher:  'session_mgr' arg for __init__ changed to
'session_manager'.  part of the SessionPublisher to Publisher change.
(This caused Publisher.__init__ to take 'session_mgr' as a keyword arg and
pass it to Config.__init__, which raised an error since it's not a valid
config parameter.)

** quixote.form.form:  'action_url' arg for __init__ changed to 'action'.
(This caused my form to be redisplayed when I pressed submit.  The HTML
was 'action_url="real_action" action=""' initially, and
'action_url="real_action" action="?real_query_string" after submitting.)


BTW,  __version__ in __init__.py is still '2.0a4'.

David Binger wrote:
> Here is the change list for this Quixote release:
>   * Don't require the traversed-into-object to be a Directory.

.... which looks like it means the top level has to be a Directory but the
lower levels don't.

>   * Add an html_url() function that assembles a quoted url with a
>     query.

Good, that's a function I had to provide.  Should it be called
url_with_query() though?  It may or may not be an .html URL, and in a
Quixote app it probably isn't.

>   * Make Form and Widget new-style classes so that properties can be
>     used on them.

:)

>   * Remove name keyword from Form constructor.

.... which means it's treated as a keyword arg and converted to a 
attribute, which is the same thing. I've named all my forms because that arg was there, although I've never found a use for it.
reply