src/pyams_pagelet/__init__.py
changeset 12 fc3542685741
parent 1 b90ce037f872
equal deleted inserted replaced
11:bd5143e87b1d 12:fc3542685741
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     8 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
     9 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
    10 # FOR A PARTICULAR PURPOSE.
    10 # FOR A PARTICULAR PURPOSE.
    11 #
    11 #
    12 
    12 
       
    13 """PyAMS_pagelet package
       
    14 
       
    15 This package is an update of z3c.pagelet package for use with Pyramid.
       
    16 
       
    17 Pagelets use :py:mod:`pyams_template` package, which participate in separation of Python view code
       
    18 and their template implementation, to split an HTML view template into two parts: a content
       
    19 template and a layout template. It also provides a "pagelet" ZCML directive which can be used to
       
    20 register pagelets, as well as a "pagelet_config" decorator which can be used alternatively.
       
    21 """
    13 
    22 
    14 from pyramid.i18n import TranslationStringFactory
    23 from pyramid.i18n import TranslationStringFactory
       
    24 
       
    25 
    15 _ = TranslationStringFactory('pyams_pagelet')
    26 _ = TranslationStringFactory('pyams_pagelet')
    16 
    27 
    17 
    28 
    18 def includeme(config):
    29 def includeme(config):
    19     """Pyramid include"""
    30     """Pyramid include"""