mezzanine_events/managers.py
def published(self):
        """
        Return items with a published status and whose publish and expiry dates
        fall before and after the current date when specified.
        """
        return self.filter(
            Q(event__publish_date__lte=now()) | Q(event__publish_date__isnull=True),
            Q(event__expiry_date__gte=now()) | Q(event__expiry_date__isnull=True),
            Q(event__status=CONTENT_STATUS_PUBLISHED),
        )

        Return items with a published status and whose publish and expiry dates
        fall before and after the current date when specified.
        
Return items with a published status and whose publish and expiry dates
fall before and after the current date when specified.
Return items with a published status and whose publish and expiry dates fall before and after the current date when specified .
def published(self):
        return self.filter(
            Q(event__publish_date__lte=now()) | Q(event__publish_date__isnull=True),
            Q(event__expiry_date__gte=now()) | Q(event__expiry_date__isnull=True),
            Q(event__status=CONTENT_STATUS_PUBLISHED),
        )
def published ( self ) : return self . filter ( Q ( event__publish_date__lte = now ( ) ) | Q ( event__publish_date__isnull = True ) , Q ( event__expiry_date__gte = now ( ) ) | Q ( event__expiry_date__isnull = True ) , Q ( event__status = CONTENT_STATUS_PUBLISHED ) , )
Return items with a published status and whose publish and expiry dates
fall before and after the current date when specified.
Return items with a published status and whose publish and expiry dates fall before and after the current date when specified .
"""
        Return items with a published status and whose publish and expiry dates
        fall before and after the current date when specified.
        """
self