~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/answers/model/faq.py

  • Committer: Steve Kowalik
  • Date: 2011-08-07 04:05:52 UTC
  • mto: This revision was merged to the branch mainline in revision 13626.
  • Revision ID: stevenk@ubuntu.com-20110807040552-mwnxo0flmhvl35e8
Correct the notification based on review comments, and remove request{,ed}
from the function names, switching to create{,d}.

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
from zope.event import notify
25
25
from zope.interface import implements
26
26
 
 
27
from canonical.database.constants import DEFAULT
 
28
from canonical.database.datetimecol import UtcDateTimeCol
 
29
from canonical.database.nl_search import nl_phrase_search
 
30
from canonical.database.sqlbase import (
 
31
    quote,
 
32
    SQLBase,
 
33
    sqlvalues,
 
34
    )
27
35
from lp.answers.interfaces.faq import (
28
36
    IFAQ,
29
37
    IFAQSet,
36
44
    )
37
45
from lp.registry.interfaces.product import IProduct
38
46
from lp.registry.interfaces.projectgroup import IProjectGroup
39
 
from lp.services.database.constants import DEFAULT
40
 
from lp.services.database.datetimecol import UtcDateTimeCol
41
 
from lp.services.database.nl_search import nl_phrase_search
42
 
from lp.services.database.sqlbase import (
43
 
    quote,
44
 
    SQLBase,
45
 
    sqlvalues,
46
 
    )
47
47
 
48
48
 
49
49
class FAQ(SQLBase):