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
David Binger
2005-03-15
On Mar 14, 2005, at 9:28 PM, mso@oz.net wrote:

> 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.)

Thanks.  I'll insert notes about those three into the CHANGES file.

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

I have missed that one before, too.

>
> 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.

A Directory is a good choice, but not required at any level.  The
publisher expects the top-level to have a _q_traverse with can be
called like that of a Directory, though.

>
>>   * 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.

Good idea.


reply