~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/bugs/doc/bugwidget.txt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-12-25 21:06:50 UTC
  • mfrom: (14600.2.11 move-webapp)
  • Revision ID: launchpad@pqm.canonical.com-20111225210650-gyk617gude7ew6os
[rs=sinzui][no-qa] Move webapp and daemons to lp.services;
 canonical.launchpad has no code, it serves page assets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
The BugWidget converts string bug ids to the corresponding bug object.
4
4
 
5
 
    >>> from canonical.launchpad.webapp.servers import LaunchpadTestRequest
 
5
    >>> from lp.services.webapp.servers import LaunchpadTestRequest
6
6
    >>> from lp.bugs.browser.widgets.bug import BugWidget
7
7
    >>> from lp.services.fields import BugField
8
8
    >>> bug_field = BugField(__name__='bug', title=u'Bug')