Exemplo n.º 1
0
def rss_all(limit=200):
    """
    Simple route that returns all projects
    name, description, link to selected project
    as rss feed

    """

    coprs = CoprsLogic.get_all().order_by(models.Copr.id.desc()).limit(limit)

    answer = render_template("rss/rss.xml", coprs=coprs)
    return Response(answer, mimetype="text/xml")
Exemplo n.º 2
0
def all_coprs():
    """ Return all coprs without those which are deleted. """
    return CoprsLogic.get_all()
Exemplo n.º 3
0
def all_coprs():
    """ Return all coprs without those which are deleted. """
    return CoprsLogic.get_all()
Exemplo n.º 4
0
def all_coprs():
    return CoprsLogic.get_all()
Exemplo n.º 5
0
def all_coprs():
    return CoprsLogic.get_all()