Files
postgres-web/pgweb/downloads/struct.py
2019-01-26 16:19:26 +01:00

12 lines
271 B
Python

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