Ejemplo n.º 1
0
def channel_screen(channel, view_name='show'):
    # TODO: Update this when we have proper channels.
    view_def = get_channel_view_definition(channel)
    return view_def.get_view_url(view_name, channel_key=channel.key)
Ejemplo n.º 2
0
 def get_view_url(self, view, channel_key):
     view_def = get_channel_view_definition(None)
     return view_def.get_view_url(view, channel_key=channel_key)
Ejemplo n.º 3
0
 def get_view_url(self, view, channel_key):
     view_def = get_channel_view_definition(None)
     return view_def.get_view_url(view, channel_key=channel_key)
Ejemplo n.º 4
0
def channel_screen(channel, view_name='show'):
    # TODO: Update this when we have proper channels.
    view_def = get_channel_view_definition(channel)
    return view_def.get_view_url(view_name, channel_key=channel.key)