djdb/comment.py
def new(album, user):
    """Returns a new partially-initialized Document object for a comment.

    The new Document is in the same entity group as the album for which a
    comment is being written.

    Args:
      album: The album being commented on.
      user: The user writing the comment.
    """
    return models.Document(parent=album,
                           subject=album, author=user,
                           doctype=models.DOCTYPE_COMMENT)
Returns a new partially-initialized Document object for a comment.

    The new Document is in the same entity group as the album for which a
    comment is being written.

    Args:
      album: The album being commented on.
      user: The user writing the comment.
    
Returns a new partially-initialized Document object for a comment.
The new Document is in the same entity group as the album for which a
comment is being written.
Returns a new partially - initialized Document object for a comment . The new Document is in the same entity group as the album for which a comment is being written .
def new(album, user):
    return models.Document(parent=album,
                           subject=album, author=user,
                           doctype=models.DOCTYPE_COMMENT)
def new ( album , user ) : return models . Document ( parent = album , subject = album , author = user , doctype = models . DOCTYPE_COMMENT )
Returns a new partially-initialized Document object for a comment.
Returns a new partially - initialized Document object for a comment .
"""Returns a new partially-initialized Document object for a comment.

    The new Document is in the same entity group as the album for which a
    comment is being written.

    Args:
      album: The album being commented on.
      user: The user writing the comment.
    """
album
The album being commented on.
The album being commented on .
user
The user writing the comment.
The user writing the comment .