~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/services/webapp/doc/canonicalurl.txt

  • Committer: William Grant
  • Date: 2011-12-30 08:13:14 UTC
  • mto: This revision was merged to the branch mainline in revision 14611.
  • Revision ID: william.grant@canonical.com-20111230081314-f73f4ozgkzdi5xqb
More stuff.

Show diffs side-by-side

added added

removed removed

Lines of Context:
58
58
Right now, none of our example objects can be turned into cooking
59
59
directions.
60
60
 
61
 
    >>> from canonical.lazr.canonicalurl import (nearest_adapter,
 
61
    >>> from lp.services.webapp.canonicalurl import (nearest_adapter,
62
62
    ...     nearest_context_with_adapter)
63
63
 
64
64
    >>> print nearest_adapter(root, ICookingDirections)