summaryrefslogtreecommitdiff
path: root/pgweb/downloads/struct.py
blob: c9c3f676cb1466189c4b1e131de9c708f1b7b1ea (plain)
1
2
3
4
5
6
7
8
9
10
11
from .models import Category


def get_struct():
    # Products
    for c in Category.objects.all():
        yield ('download/products/%s/' % c.id,
               0.3)

    # Don't index the ftp browser for now - it doesn't really contain
    # anything useful to search