Exemplo n.º 1
0
def get_story_wind_turbines():
    return Story.objects.get(
        moderate_state=ModerateState._published(),
        title='Wind Turbines'
    )
Exemplo n.º 2
0
def get_story_market_planning_published():
    return Story.objects.get(
        moderate_state=ModerateState._published(),
        title='The Market Planning has been Approved'
    )